Free online tool

Percentage Calculator

Find a percentage of a value, express a part as a percentage of a whole, or recover the whole from a known share. Choose the matching mode and check the formula beside your result.

Instant calculation

What is X% of Y?

Find a percentage of any number.

Calculation inputs are processed in your browser. Copying or sharing a result is your choice. See our privacy policy for advertising and technical logs.

Tool and explanation maintained by Leslie. Report an incorrect result.

Input steps

How to use this calculator

  1. 01

    Choose the unknown

    Choose X% of Y for a share, X is what % of Y? for a rate, or X is Y% of what? for the whole.

  2. 02

    Enter the known values

    Enter the percentage and number, the value and total, or the value and percentage, as labeled in your chosen tab.

  3. 03

    Check the result

    Use the calculation button in the selected tab. The formula beside the answer shows which number served as the whole.

The formula

How this calculation works

Divide the percentage by 100, then multiply by the number. To find what percent one value is of another, divide the value by the total and multiply by 100. To find the total when you know a value and its percentage, divide the value by the percentage and multiply by 100.

Percentage Calculator

Percentage result = Percentage × Number ÷ 100

Check the method

Worked examples

Each example follows the same formula used by the calculator.

What is 20% of 200?

20 × 200 ÷ 100 = 4040

25 is what percent of 200?

25 ÷ 200 × 100 = 12.5%12.5%

25 is 20% of what number?

25 ÷ 20 × 100 = 125125

Choose the correct whole

A percentage is a share of a stated base. Use the original total, not the remaining amount. For 18 attendees out of 24 invited, the attendance rate is 18/24 × 100 = 75%. The six absent attendees are 25% of the same base.

Which of the three modes answers your question?

Use X% of Y when you know the rate and the whole: a 12.5% allowance from a 640 budget is 80. Use X is what % of Y when you know the part and the whole: 18 completed tasks out of 24 is 75%. Use X is Y% of what when the whole is missing: if 45 represents 15% of a budget, that budget is 45 ÷ 0.15 = 300. These modes solve different unknowns; swapping the fields changes the question.

Write down the base before entering numbers

In part = whole × rate/100, the whole is the reference amount, the rate is entered as a percent, and the part keeps the whole's units. Enter 12.5 for 12.5%, not 0.125. Keep counts with counts and currency with the same currency. A useful check is to calculate 10% first by dividing the whole by ten; a 12.5% result should be slightly larger. For the reverse mode, multiply the recovered whole by the rate to check that you get the original part.

Percentages, percentage points and weighted totals

If a conversion rate moves from 4% to 5%, the gap is one percentage point. The relative increase is (5 − 4) ÷ 4 × 100 = 25%. Use the percentage-change tool for that second question. Similarly, do not average percentages from groups of different sizes: 1 success in 2 attempts is 50%, while 9 in 90 is 10%. Across both groups the rate is 10/92, about 10.87%, not the unweighted average of 30%. Add the underlying counts before calculating the combined share.

What a percentage cannot tell you

A percentage describes a relationship, not whether a result is good or statistically reliable. A 100% success rate based on one attempt is different evidence from 100% based on a thousand attempts. Keep the count and time period with a reported percentage. A zero whole cannot define a share; report the underlying numbers instead. This calculator also does not decide what should be included in revenue, a survey population or a taxable amount. Those definitions must come from your task.

Avoid subtracting the wrong percentage

After a 20% reduction, an item originally priced at 100 costs 80. A later 20% increase is calculated from 80 and adds 16, giving 96. To recover the original 100 from the discounted 80, divide by 0.8; subtracting or adding 20% to the new number does not reverse the first operation. Use the reverse-percentage tool when you know a final price and the change applied, rather than the share-of-a-total mode on this page.

Further reading

These references explain the underlying concepts. They do not endorse this website or verify an individual result.

Continue with percentage formulas and examples or choosing change versus difference.

Method notes updated by Leslie.

Common questions

Questions about this calculation

Can a percentage exceed 100%?

Yes. 250 as a share of 200 is 125%. This means the comparison value is larger than the base; it is not a calculation failure. A zero base cannot define a percentage share.

How do you calculate a percentage of a number?

Multiply the number by the percentage and divide by 100. For example, 20% of 200 is 20 × 200 ÷ 100 = 40.

What is 20% of 100?

20% of 100 is 20 because 20 × 100 ÷ 100 equals 20.

How do you find what percent one value is of another?

Divide the value by the total and multiply by 100. A total of zero cannot be used because division by zero is undefined.

Can the percentage calculator use decimals?

Yes. You can enter decimal percentages and decimal values, including values such as 12.5%.