Percentage Calculator

NewPopular

Use ToolMint Percentage Calculator to calculate a percentage of a number, percentage increase or decrease, percentage difference, reverse percentages, discounts, markup, margin and percentage change. Choose a mode, enter numeric values and review the instant result, formula and substituted calculation. All calculations run locally in the browser, and ToolMint does not upload or store the values entered.

11 min read Works in browser Privacy notes

Percentage Calculator

Calculate common percentages with transparent formulas.

Browser-only

Calculation inputs

Choose a mode, enter values and review the instant result.

Formula: result = (percentage / 100) x number

Display options

Result and explanation

Results update when all required values are valid.

Enter values to calculate

Choose a mode and add valid numbers to see the formula, substituted calculation and explanation.

Mode: Percentage of a number. Display rounding does not change the full-precision internal calculation.

All calculations run locally in your browser. ToolMint does not upload input values or calculated results, and analytics record only privacy-safe actions and mode names.

Key facts

Best use case
Checking common percentages, changes, reverse percentages, discounts, markup and profit margin with visible formulas
Calculation modes
13 deterministic modes covering general, comparison, reverse and business percentages
Number support
Finite positive, negative and decimal values where the selected formula is mathematically defined
Display precision
Choose 0, 1, 2, 3 or 4 decimal places without changing full-precision internal calculations
Currency handling
Optional symbol or code for discount, markup and margin display only; no currency conversion
Recent history
Up to 10 valid calculations can be saved explicitly in localStorage and restored or cleared
Processing method
Native deterministic JavaScript calculations run entirely in the browser; no AI or API route is used
Privacy model
Inputs and results stay in the browser; analytics exclude all numeric values and calculated results
Account requirement
Free to use with no signup required
Main limitation
Results depend on the selected formula and entered values and are not financial, tax or accounting advice
Privacy

Privacy and processing

Processing method: All percentage calculations run locally in the browser with native deterministic JavaScript. The tool preserves full numeric precision during calculation, applies the selected display precision only when formatting results and never calls a ToolMint API route or external service.

Privacy model: This calculator is browser-only. Numeric inputs, optional currency labels, formulas and calculated results are not uploaded to ToolMint servers and are not included in analytics. Saved calculations use localStorage only when the user selects Save locally.

Limitations

Limitations

  • The calculator does not provide financial, tax, accounting, pricing or investment advice.
  • Binary floating-point arithmetic can have tiny internal representation differences, so results are formatted to the selected decimal precision.
  • Percentage change from a zero baseline and any other division-by-zero scenario are undefined and are not calculated.
  • Percentage difference and percentage change answer different questions and should not be used interchangeably.
  • Currency symbols and codes affect display only; ToolMint does not convert currencies or apply exchange rates.
  • Negative inputs can produce results that require context, especially when a signed baseline changes direction.
Guide

The ToolMint Percentage Calculator calculates common percentage relationships from numbers you enter. It supports percentage-of-number questions, part-to-total percentages, increases, decreases, differences, reverse percentages, sequential discounts, markup, profit margin and directional percentage change.

All calculations run locally in the browser with native JavaScript. ToolMint does not upload numeric inputs or calculated results, does not call an API for this tool and does not use AI. The optional currency field is a display label only and does not perform currency conversion.

How to Use the Percentage Calculator

Choose the calculation mode that matches your question. Enter each required value, then review the primary result, supporting values, formula, substituted calculation and plain-language explanation.

Use Decimal precision to display between zero and four decimal places. The calculator keeps full numeric precision during the calculation and applies rounding only when formatting the visible result. The thousands-separators option changes display formatting only.

For discount, markup and profit-margin modes, you can add an optional currency symbol or code. Enter all monetary values in the same currency because ToolMint does not apply exchange rates.

Use Copy result for the primary answer or Copy calculation for the result, supporting values, formula and explanation. Save locally adds the valid calculation to browser-only history. History contains at most 10 entries and can be restored or cleared.

What Is X Percent of Y?

To calculate a percentage of a number, divide the percentage by 100 and multiply by the number:

result = (percentage / 100) x number

For 15 percent of 200:

(15 / 100) x 200 = 30

This mode is useful for finding a tax amount, a share of a total, a commission amount or any other fraction expressed as a percentage.

X Is What Percentage of Y?

To express a part as a percentage of a total, divide the part by the total and multiply by 100:

percentage = (part / total) x 100

For 30 out of 200:

(30 / 200) x 100 = 15%

The total cannot be zero because division by zero is undefined.

Percentage Increase

Percentage increase uses the original value as the baseline:

percentage increase = ((new value - original value) / original value) x 100

An increase from 100 to 125 is:

((125 - 100) / 100) x 100 = 25%

The absolute increase is 25. The original value cannot be zero because it is the denominator.

Percentage Decrease

Percentage decrease also uses the original value as the baseline:

percentage decrease = ((original value - new value) / original value) x 100

A decrease from 200 to 150 is:

((200 - 150) / 200) x 100 = 25%

The absolute decrease is 50. If the new value is greater than the original value, this formula returns a negative decrease, indicating that the selected direction does not match the values.

Percentage Difference

Percentage difference is useful when neither value should be treated as the baseline. It compares the absolute difference with the average:

percentage difference = |A - B| / ((A + B) / 2) x 100

For 80 and 100:

|80 - 100| / ((80 + 100) / 2) x 100
= 20 / 90 x 100
= 22.222...%

Percentage difference is symmetric, so swapping A and B does not change the result. If the average is zero, the percentage difference is undefined. When both values are negative, the signed average can produce a negative percentage-difference result, so interpret that output in the context of the measurements.

Percentage Increase vs Percentage Difference

Percentage increase and percentage difference are not interchangeable.

Use percentage increase, decrease or change when one value is clearly the starting baseline. A move from an original price to a new price is a percentage change.

Use percentage difference when comparing two measurements without assigning either one as the original. The denominator is based on their average rather than one selected value.

Find the Original Value Before an Increase

To reverse a percentage increase, divide the final value by one plus the percentage as a decimal:

original = final / (1 + percentage / 100)

If the final value is 125 after a 25 percent increase:

125 / (1 + 25 / 100) = 100

The verification is 100 plus 25 percent of 100, which equals 125.

Find the Original Value Before a Decrease

To reverse a percentage decrease, divide the final value by one minus the percentage as a decimal:

original = final / (1 - percentage / 100)

If the final value is 80 after a 20 percent decrease:

80 / (1 - 20 / 100) = 100

The percentage decrease must be at least zero and less than 100. A 100 percent decrease leaves zero, so the final value alone cannot identify a unique original value.

Add or Subtract a Percentage

To add a percentage:

new value = value x (1 + percentage / 100)

Adding 15 percent to 200 gives:

200 x (1 + 15 / 100) = 230

To subtract a percentage:

new value = value x (1 - percentage / 100)

Subtracting 15 percent from 200 gives:

200 x (1 - 15 / 100) = 170

A decrease and an equal increase do not cancel because the second percentage uses a different baseline. Reducing 100 by 50 percent gives 50. Increasing 50 by 50 percent gives 75, not 100.

Discount Calculator

The discount mode calculates the first discount amount, optional additional discount, final price, total saving and effective discount percentage.

A single 20 percent discount on 100 gives:

discount amount = 100 x 20 / 100 = 20
final price = 100 - 20 = 80

Additional discounts are sequential. A 20 percent discount followed by a 10 percent discount is:

100 x (1 - 20 / 100) x (1 - 10 / 100)
= 100 x 0.8 x 0.9
= 72

The final price is 72, not 70. The effective discount is 28 percent because the second discount applies to 80 rather than the original 100.

Markup vs Profit Margin

Markup and profit margin both describe profit, but they use different denominators.

Markup divides profit by cost:

markup = profit / cost x 100

Profit margin divides profit by selling price:

margin = profit / selling price x 100

With a cost of 80 and a 25 percent markup:

selling price = 80 x (1 + 25 / 100) = 100
profit = 100 - 80 = 20
margin = 20 / 100 x 100 = 20%

A 25 percent markup therefore produces a 20 percent profit margin in this example. Treating them as identical can lead to incorrect pricing.

Percentage Change Between Two Values

The percentage-change mode determines whether the ending value is an increase, decrease or no change from the starting value:

percentage change = (ending - starting) / |starting| x 100

The calculator uses the magnitude of the starting value so the direction follows the actual movement when signed values are used. A change from zero to a nonzero value cannot be expressed as a finite percentage because the baseline denominator is zero. A change from zero to zero is reported as no change.

Negative Values and Decimals

The calculator accepts finite negative and decimal values where the selected formula is defined. Negative starting values can make everyday increase and decrease language less intuitive, so interpret the signed baseline and direction carefully.

Business modes apply practical constraints. Prices and costs cannot be negative where that would make the result misleading, discount percentages are limited to zero through 100, and selling price must be greater than zero for profit-margin calculations.

JavaScript uses binary floating-point arithmetic. Some decimal fractions cannot be represented exactly internally, so ToolMint formats the visible answer to the selected decimal precision. Display rounding does not change the underlying formula.

Zero Denominators

The calculator does not divide by zero. It shows an actionable validation message when:

  • A total is zero in the part-to-total percentage mode.
  • An original value is zero in percentage increase or decrease.
  • The average is zero in percentage difference.
  • A reverse percentage would require division by zero.
  • A nonzero ending value is compared with a zero starting value.
  • Cost or selling price makes markup or margin undefined.

An undefined percentage is different from zero percent. Zero percent is a valid result when the formula is defined and no change occurred.

Practical Uses

Use the calculator to:

  • Find a percentage share of a total.
  • Compare an original and updated measurement.
  • Reverse a known increase or discount.
  • Check sale prices and sequential discounts.
  • Convert markup to the resulting profit margin.
  • Add a percentage-based fee or subtract a percentage allowance.
  • Prepare transparent calculations for a report or planning note.

For a simple return-on-investment ratio, use the ROI Calculator. For mortgage payment scenarios, use the Mortgage Calculator. Property-specific yield and cash-flow calculations belong in the Property Investment Calculator, while longer-term housing comparisons belong in the Rent vs Buy Calculator.

Common Percentage Mistakes

Do not divide by the new value when the original value is the baseline. Do not add sequential discounts together. Do not treat markup and margin as the same ratio. Do not assume an equal decrease and increase return to the original value.

Also avoid rounding each intermediate step when accuracy matters. Keep sufficient precision during the calculation and round the final displayed value according to the reporting requirement.

Privacy and Local Processing

All calculations run in the current browser tab. ToolMint does not upload, remotely store or log numeric inputs, optional currency labels, formulas or results for this tool.

History is optional. A calculation enters history only when you select Save locally. Saved entries use localStorage in the current browser, are limited to 10 and can be cleared from the tool.

Analytics may record privacy-safe actions such as mode changed, example loaded, values swapped, reset, result copied, calculation copied or history cleared. Analytics do not include numeric values, currency labels, formulas, saved entries or calculated results.

Limitations

The Percentage Calculator provides deterministic arithmetic based on the selected formula and values entered. It does not verify source figures, interpret contracts, apply tax rules, convert currencies or provide financial, tax, accounting, pricing or investment advice.

Results involving negative baselines require careful interpretation. Displayed decimals are rounded according to the selected precision, and very large values can lose meaningful precision in ordinary JavaScript number arithmetic. ToolMint limits inputs to finite values between negative and positive one quadrillion.

Frequently Asked Questions

How do I calculate a percentage of a number?

Multiply the number by the percentage divided by 100. For example, 15 percent of 200 is (15 / 100) x 200, which equals 30.

How do I calculate percentage increase?

Subtract the original value from the new value, divide by the original value and multiply by 100. The original value cannot be zero.

How do I calculate percentage decrease?

Subtract the new value from the original value, divide by the original value and multiply by 100. The original value cannot be zero.

What is the difference between percentage change and percentage difference?

Percentage change uses a starting value as the baseline. Percentage difference compares two values symmetrically when neither is treated as the baseline.

How do I reverse a percentage increase?

Divide the final value by 1 plus the percentage expressed as a decimal. A final value of 125 after a 25 percent increase has an original value of 100.

How do I calculate the original price before a discount?

Use the reverse-decrease mode and divide the final price by 1 minus the discount expressed as a decimal. The discount must be less than 100 percent.

What is the difference between markup and profit margin?

Markup divides profit by cost, while profit margin divides profit by selling price. A 25 percent markup on a cost of 80 produces a selling price of 100 and a 20 percent margin.

Can percentages be greater than 100?

Yes. General percentage, increase, add and subtract modes can use percentages above 100 when the calculation is meaningful. Discount inputs are limited to 100 percent.

Can I calculate percentages with negative values?

Yes, where the selected formula remains mathematically defined. Interpret signed baselines carefully because negative starting values can make everyday increase or decrease labels less intuitive.

Does ToolMint store my calculations?

ToolMint does not upload or remotely store calculations. History is saved only in localStorage when you select Save locally, and you can clear it at any time.

Use the ROI Calculator for simple return-on-investment calculations, the Mortgage Calculator for payment and amortization estimates, the Property Investment Calculator for rental yield and cash flow, the Rent vs Buy Calculator for housing-cost comparisons and the Invoice Generator for itemized billing. Browse more browser-based utilities in the Utilities category.

Steps

How to use

  1. Choose the percentage calculation mode that matches the question you need to answer.
  2. Enter the required values and, for business modes, optionally add a display-only currency symbol or code.
  3. Choose a decimal precision and whether to use thousands separators.
  4. Review the instant primary result, supporting values, formula, substituted calculation and explanation.
  5. Copy the result, copy the complete calculation or explicitly save a valid calculation in browser-only history.
Why you’ll love it

Benefits

Thirteen focused modes

Use the formula that matches the question instead of adapting one generic percentage field.

Transparent calculations

Every valid result includes the formula, substituted values and a concise explanation.

Controlled formatting

Set decimal precision and thousands separators without changing internal calculation precision.

Browser-only privacy

Calculations stay on the device and analytics never include numeric inputs or results.

In practice

Examples

  • Calculate 15 percent of 200 to get 30.
  • Find that 30 is 15 percent of 200.
  • Measure a change from 100 to 125 as a 25 percent increase.
  • Apply sequential discounts of 20 percent and 10 percent to 100 to get 72, not 70.
  • Compare a 25 percent markup with the resulting 20 percent profit margin when cost is 80 and selling price is 100.
Tips

Pro tips

  • Use percentage change when one value is the baseline and percentage difference when neither value is the baseline.
  • Apply multiple discounts sequentially to the remaining price rather than adding the percentages.
  • Keep full precision during intermediate work and round only the displayed or final reported result.
  • Treat currency as a label and enter all monetary figures in the same currency.
  • Check whether a negative value or zero baseline is meaningful for the question before interpreting the result.
Watch out

Common mistakes to avoid

  • Dividing by the new value instead of the original value when calculating percentage change.
  • Adding sequential discount percentages instead of applying each discount to the remaining price.
  • Treating markup on cost as though it were the same percentage as margin on selling price.
  • Assuming a 50 percent decrease followed by a 50 percent increase returns to the starting value.
  • Using percentage difference when one value should clearly be treated as the baseline.

Frequently asked questions

Multiply the number by the percentage divided by 100. For example, 15 percent of 200 is (15 / 100) x 200, which equals 30.

Subtract the original value from the new value, divide by the original value and multiply by 100. The original value cannot be zero.

Subtract the new value from the original value, divide by the original value and multiply by 100. The original value cannot be zero.

Percentage change uses a starting value as the baseline. Percentage difference compares two values symmetrically when neither is treated as the baseline.

Divide the final value by 1 plus the percentage expressed as a decimal. A final value of 125 after a 25 percent increase has an original value of 100.

Use the reverse-decrease mode and divide the final price by 1 minus the discount expressed as a decimal. The discount must be less than 100 percent.

Markup divides profit by cost, while profit margin divides profit by selling price. A 25 percent markup on a cost of 80 produces a selling price of 100 and a 20 percent margin.

Yes. General percentage, increase, add and subtract modes can use percentages above 100 when the calculation is meaningful. Discount inputs are limited to 100 percent.

Yes, where the selected formula remains mathematically defined. Interpret signed baselines carefully because negative starting values can make everyday increase or decrease labels less intuitive.

ToolMint does not upload or remotely store calculations. History is saved only in localStorage when you select Save locally, and you can clear it at any time.

Made with care by ToolMint