Skip to content

Math & Geometry

Percentage Calculator

Find a percentage of a number, compare two values, or work backward from a percentage. The right mode depends on which number is your starting point.

Use calculator

Tool updated

Choose calculation mode

What is X% of Y?

Find the amount represented by a percentage of a value.

%

Example: 15

Example: 200

Primary result

30

Multiplier

0.15

Show step-by-step math(collapsed)
  1. Formula

    Result=X100Y\text{Result}=\frac{X}{100}Y
  2. Substitution

    Result = (15 / 100) ร— 200

  3. Simplified

    Result = 0.15 ร— 200

  4. Result

    Result = 30

Worked example

Find 15% of 240

Choose the percent-of mode. Enter 15 for the percentage and 240 for the number.

240ร—15100=36240\times\frac{15}{100}=36

For percent change instead, divide the difference by the original value. The order of the two values matters.

Back to the calculator

Jump to a Mode

How to use the calculator

  1. Pick the mode that matches your question type from the tabs.
  2. Enter your values and use quick presets for common percentages (10%, 15%, 20%, 25%, 50%).
  3. Adjust decimal places if you need tighter presentation precision.
  4. Review the primary result and secondary breakdown values.
  5. Expand the step-by-step math section to audit formula and substitution details.
  6. Copy, share, export CSV, or print the current computation.

Calculator Overview

This Percentage Calculator is a full percentage toolbox for everyday finance, shopping, school, and analytics tasks. Instead of switching between multiple tools, you can solve percent-of, percent-change, reverse-percentage, markup/margin, and discount questions in one workflow.

Each mode shows the exact formula, substitution, and simplified result so you can verify the arithmetic and explain your answer to someone else. Precision controls let you change decimal places without changing the internal math.

Use the mode tabs when your question changes shape. If your problem has an old and new value, use Percentage Change. If you know only a part and a percent, use Reverse Percentage. If you work in pricing, use Markup vs Margin to avoid denominator mistakes โ€” markup and margin look similar but use different denominators and produce very different percentages.

Percentage calculations appear everywhere: sales tax, investment returns, grade points, discount codes, inflation adjustments, poll data, statistical comparisons, and payroll calculations. The most common mistake is using the wrong formula for the context. A store that marks up goods by 50% and then offers a 50% off sale is not selling at cost โ€” it is selling at a loss if customers apply a reverse calculation correctly. This calculator makes the right formula transparent so such errors are immediately visible.

For business finance, the markup vs. margin distinction is critical. A 40% gross margin sounds like a 40% markup, but a 40% margin corresponds to a 66.7% markup (price = cost / (1 โˆ’ margin)). Confusing these costs businesses significant money in pricing decisions. The calculator shows both side by side.

For students, percentage change and percent difference are frequently confused. Percent change requires an old and new value with directionality (positive = increase, negative = decrease). Percent difference is symmetric and compares two values using their average as the base โ€” appropriate when neither value is a reference point.

For analysts, the calculator supports large percentage calculations that exceed 100% โ€” valid for growth rates, multipliers, and trend comparisons โ€” and handles negative inputs with clear interpretation notes.

Formulas and short notes

Jump to a formula

Find a percentage of a number

R=p100BR=\frac{p}{100}B
  • Use this mode when you know the base and want the amount that a percentage represents.
  • The answer has the same unit as the base. A percentage above one hundred gives more than the base.

Worked example

15%15\% of 240240 is 15100ร—240=36\frac{15}{100}\times240=36.

Find what percent one value is of another

p=RBร—100%p=\frac{R}{B}\times100\%
  • The reference total belongs in the denominator. The part and the total must use the same unit.
  • A zero reference total makes the ratio undefined.

Worked example

1818 out of 6060 is 1860ร—100%=30%\frac{18}{60}\times100\%=30\%.

Find percentage change

p=Nโˆ’OOร—100%p=\frac{N-O}{O}\times100\%
  • Compare the difference with the old value. Reversing the direction changes the denominator.
  • A zero starting value gives no defined percentage change. With a negative base, explain the underlying change alongside the percentage.

Worked example

From 8080 to 9696, p=20%p=20\%. From 9696 to 8080, pโ‰ˆโˆ’16.67%p\approx-16.67\%.

Increase or decrease a value

Nincrease=O(1+p/100)N_{\mathrm{increase}}=O(1+p/100)
Ndecrease=O(1โˆ’p/100)N_{\mathrm{decrease}}=O(1-p/100)
  • Choose increase when the percentage adds to the starting value and decrease when it comes off.
  • For successive changes, use the new amount as the base for the next change.

Worked example

A 20%20\% increase followed by a 20%20\% decrease gives 100ร—1.2ร—0.8=96100\times1.2\times0.8=96.

Find the original value after a change

O=N1ยฑp/100O=\frac{N}{1\pm p/100}
  • Divide by the multiplier that originally produced the final value. Use the plus sign for an increase and the minus sign for a decrease.
  • A full one hundred percent decrease gives a zero multiplier and the original amount cannot be recovered.

Worked example

If 8484 remains after a 30%30\% decrease, O=840.7=120O=\frac{84}{0.7}=120.

Find the whole from a part

B=Rp/100B=\frac{R}{p/100}
  • Use reverse percentage when you know a part and the rate it represents.
  • This uses the rate by itself. Use the original-value mode when you are undoing an increase or decrease.

Worked example

If 2727 is 15%15\% of the whole, B=270.15=180B=\frac{27}{0.15}=180.

Compare two values without a starting point

p=โˆฃAโˆ’Bโˆฃโˆฃ(A+B)/2โˆฃร—100%p=\frac{|A-B|}{\left|(A+B)/2\right|}\times100\%
  • The average is the reference, so swapping the values keeps the percentage difference the same.
  • If the average is zero, the percentage is undefined. For signed values, report the raw difference too.

Worked example

For 4040 and 6060, p=2050ร—100%=40%p=\frac{20}{50}\times100\%=40\%.

Markup and margin

Markup=Pโˆ’CCร—100%\text{Markup}=\frac{P-C}{C}\times100\%
Margin=Pโˆ’CPร—100%\text{Margin}=\frac{P-C}{P}\times100\%
  • Both start with the same profit amount. Markup compares it with cost, while margin compares it with selling price.
  • A target margin can require a larger markup. Use the two rates with their own denominators.

Worked example

With cost 6060 and price 100100, the margin is 40%40\% and the markup is 4060ร—100%โ‰ˆ66.67%\frac{40}{60}\times100\%\approx66.67\%.

Calculate a discount with optional tax

S=P(1โˆ’d/100)S=P(1-d/100)
F=S(1+t/100)F=S(1+t/100)
  • The discounted subtotal comes first. The optional tax applies to that reduced amount in this mode.
  • Savings before tax are the difference between the original and discounted prices.

Worked example

An 8080 item with 25%25\% off is 6060. Adding 5%5\% tax gives F=60ร—1.05=63F=60\times1.05=63.

Compare more scenarios

Example 1: Conservative Percentage Example

This scenario uses a conservative assumption set to show how the percentage output behaves when core inputs are scaled to a different planning band. It is intended to demonstrate both numerical behavior and decision interpretation under a controlled assumption change.

Inputs

FieldValue
Part36
Whole48

Outputs

FieldValue
Percentage75%

Step-by-Step Walkthrough

  1. Set the primary input profile for this run. Example anchor value: 36. Confirm that units match source documents before calculation.
  2. Enter all values in consistent units and keep precision settings unchanged for fair comparison. If your source includes rounded values, note that in your scenario comments.
  3. Run the calculator and capture all output fields. Primary reported output: 75%. Also record secondary outputs because supporting metrics often explain why totals moved.
  4. Compare this run against the baseline scenario to quantify sensitivity and decision impact. Focus first on percentage movement, then on operational consequences.
  5. Evaluate whether the change exceeds your practical action threshold. If movement is minor, preserve the baseline plan; if movement is material, review mitigation options.
  6. Archive this scenario with assumptions and timestamp so future reviews can reproduce the exact run and audit differences over time.

Takeaway: Use this pattern to document assumptions, rerun with updated values, and maintain a clear audit trail for follow-up decisions. Over repeated runs, this approach builds decision memory and reduces rework.

Example 2: Baseline Percentage Example

This scenario uses a baseline assumption set to show how the percentage output behaves when core inputs are scaled to a different planning band. It is intended to demonstrate both numerical behavior and decision interpretation under a controlled assumption change.

Inputs

FieldValue
Part45
Whole60

Outputs

FieldValue
Percentage75%

Step-by-Step Walkthrough

  1. Set the primary input profile for this run. Example anchor value: 45. Confirm that units match source documents before calculation.
  2. Enter all values in consistent units and keep precision settings unchanged for fair comparison. If your source includes rounded values, note that in your scenario comments.
  3. Run the calculator and capture all output fields. Primary reported output: 75%. Also record secondary outputs because supporting metrics often explain why totals moved.
  4. Compare this run against the baseline scenario to quantify sensitivity and decision impact. Focus first on percentage movement, then on operational consequences.
  5. Evaluate whether the change exceeds your practical action threshold. If movement is minor, preserve the baseline plan; if movement is material, review mitigation options.
  6. Archive this scenario with assumptions and timestamp so future reviews can reproduce the exact run and audit differences over time.

Takeaway: Use this pattern to document assumptions, rerun with updated values, and maintain a clear audit trail for follow-up decisions. Over repeated runs, this approach builds decision memory and reduces rework.

Example 3: Growth Case Percentage Example

This scenario uses a growth case assumption set to show how the percentage output behaves when core inputs are scaled to a different planning band. It is intended to demonstrate both numerical behavior and decision interpretation under a controlled assumption change.

Inputs

FieldValue
Part51.75
Whole69

Outputs

FieldValue
Percentage75%

Step-by-Step Walkthrough

  1. Set the primary input profile for this run. Example anchor value: 51.75. Confirm that units match source documents before calculation.
  2. Enter all values in consistent units and keep precision settings unchanged for fair comparison. If your source includes rounded values, note that in your scenario comments.
  3. Run the calculator and capture all output fields. Primary reported output: 75%. Also record secondary outputs because supporting metrics often explain why totals moved.
  4. Compare this run against the baseline scenario to quantify sensitivity and decision impact. Focus first on percentage movement, then on operational consequences.
  5. Evaluate whether the change exceeds your practical action threshold. If movement is minor, preserve the baseline plan; if movement is material, review mitigation options.
  6. Archive this scenario with assumptions and timestamp so future reviews can reproduce the exact run and audit differences over time.

Takeaway: Use this pattern to document assumptions, rerun with updated values, and maintain a clear audit trail for follow-up decisions. Over repeated runs, this approach builds decision memory and reduces rework.

Example 4: Stress Case Percentage Example

This scenario uses a stress case assumption set to show how the percentage output behaves when core inputs are scaled to a different planning band. It is intended to demonstrate both numerical behavior and decision interpretation under a controlled assumption change.

Inputs

FieldValue
Part60.75
Whole81

Outputs

FieldValue
Percentage75%

Step-by-Step Walkthrough

  1. Set the primary input profile for this run. Example anchor value: 60.75. Confirm that units match source documents before calculation.
  2. Enter all values in consistent units and keep precision settings unchanged for fair comparison. If your source includes rounded values, note that in your scenario comments.
  3. Run the calculator and capture all output fields. Primary reported output: 75%. Also record secondary outputs because supporting metrics often explain why totals moved.
  4. Compare this run against the baseline scenario to quantify sensitivity and decision impact. Focus first on percentage movement, then on operational consequences.
  5. Evaluate whether the change exceeds your practical action threshold. If movement is minor, preserve the baseline plan; if movement is material, review mitigation options.
  6. Archive this scenario with assumptions and timestamp so future reviews can reproduce the exact run and audit differences over time.

Takeaway: Use this pattern to document assumptions, rerun with updated values, and maintain a clear audit trail for follow-up decisions. Over repeated runs, this approach builds decision memory and reduces rework.

Comparison and Reference Table

ScenarioPrimary InputPrimary OutputNotes
Very Low Input2745%Use this row as a directional guide. Re-run with your exact constraints before acting on final values.
Low Input3660%Use this row as a directional guide. Re-run with your exact constraints before acting on final values.
Reference4575%Use this row as a directional guide. Re-run with your exact constraints before acting on final values.
Moderate Increase5490%Use this row as a directional guide. Re-run with your exact constraints before acting on final values.
High Increase63105%Use this row as a directional guide. Re-run with your exact constraints before acting on final values.
Upper-Bound Check72120%Use this row as a directional guide. Re-run with your exact constraints before acting on final values.

Frequently asked questions

How do you calculate percent change?

Use ((new value โˆ’ old value) / old value) ร— 100. Positive results indicate increase, negative results indicate decrease. For example, a price rising from $80 to $100: ((100 โˆ’ 80) / 80) ร— 100 = 25% increase.

What is the difference between percent change and percent difference?

Percent change uses an old value baseline and has direction (positive or negative). Percent difference is symmetric and uses the average of the two values as the base โ€” appropriate when neither value is a reference point. For A=60 and B=40: difference = |60โˆ’40| / |(60+40)/2| ร— 100 = 40%.

What is the difference between markup and margin?

Markup is profit divided by cost: (price โˆ’ cost) / cost ร— 100. Margin is profit divided by selling price: (price โˆ’ cost) / price ร— 100. A 50% markup on a $100 cost gives a $150 price, but the margin on that sale is only 33.3%, not 50%.

Why does the calculator show undefined results sometimes?

Undefined appears when a denominator is zero, such as Y = 0 in 'X is what percent of Y' or old = 0 in percent change. Dividing by zero is mathematically undefined, and the calculator flags this clearly rather than showing a misleading result.

Can I use values above 100%?

Yes. Percentages above 100 are valid in many contexts: growth rates above 100% (e.g., revenue doubled = 100% growth), markup percentages, multipliers, and scaling factors. The calculator handles these without truncation.

How do I find the original price before a percentage discount?

Use the reverse percentage formula: Original = Discounted Price / (1 โˆ’ discount rate). For an item discounted 30% and now priced at $70: Original = $70 / (1 โˆ’ 0.30) = $70 / 0.70 = $100.

How do I add a percentage to a number?

Multiply the number by (1 + percent/100). To add 15% to $200: $200 ร— (1 + 0.15) = $200 ร— 1.15 = $230. Equivalently, calculate 15% of $200 = $30 and add it: $200 + $30 = $230.

What is 20% of a number and how do I calculate it quickly?

20% of a number = number / 5 (dividing by 5). For 20% of $85: $85 / 5 = $17. Alternatively, find 10% first (move the decimal left one place: $8.50) and double it: $8.50 ร— 2 = $17.

Understand your result

Percentage Calculator guide

Percentages compare a quantity with a chosen base. Identify that base before selecting a mode or interpreting the result.

Percent change is directional

A value rising from 80 to 100 increases by 20/80 ร— 100 = 25 percent. Returning from 100 to 80 is a decrease of 20/100 ร— 100 = 20 percent. The different starting values explain why opposite journeys do not have matching percentage changes.

For reverse percentage, divide by the final multiplier. If a price after a 20 percent increase is 120, the original is 120/1.2 = 100. Subtracting twenty percent from 120 would give 96 and answer a different question. Use the discount tool when several reductions, fees, or purchase totals need their own clear calculation.

Continue with a related calculation

  • Number to Million Converter

    One million is 1,000,000. Dividing a raw quantity by that factor expresses the same quantity in millions.

  • Number to Billion Converter

    A billion here uses the short-scale definition of one thousand million, or 1,000,000,000. The converter expresses a raw number in those units.

  • Million to Billion Converter

    Million and billion differ by a factor of one thousand under the short-scale convention used here.

  • Crore to Lakh Converter

    Crore and lakh are names for fixed quantities in the Indian numbering system. The conversion changes the numerical scale, not the underlying value.

Quick reference: Percent, decimal, fraction and value of 80

Percent of 80 = percent ร— 80 รท 100.

Percent, decimal, fraction and value of 80
PercentDecimalFractionPercent of 80
1%0.011/1000.8
5%0.051/204
10%0.101/108
12.5%0.1251/810
20%0.201/516
25%0.251/420
33โ…“%0.33331/326.67
50%0.501/240
75%0.753/460

Read the complete Percentage Calculator guide

See the longer walkthrough and reference notes for Percentage Calculator.

Open Guide

Author & Formula Review

Author

Jitendra Kumar

Founder & Lead Developer

Reviewed by

OmniCalc Editorial Review

Formula QA, source review, and calculator maintenance

Last reviewed

Math & Geometry calculator

Formulas, rounding behavior, and worked examples are checked against hand calculations and calculator QA scenarios before publishing.

Primary Sources

Results are general-purpose estimates. Verify critical figures against official sources or a qualified professional. See our sources and methodology and editorial policy.

Explore more calculators