November 4, 2026 · November Edition Free · nationwide

Calcolatori Gratis

Math, finance, health: find the calculator that fits you

Last updated: May 24, 2026

Percentage Calculator

How do you calculate a percentage?

To find X% of a number: multiply by X and divide by 100. To find what % one number is of another: divide the first by the second and multiply by 100.

Calculator

Basic Percentage Calculator

Enter any two values to calculate the third (e.g. P% of Y = X).

% of =

Calculator: What Percentage is X of Y?

Example: Calculate what percentage is 20 of 50.

is what percentage of ?

Calculator: X is P% of What Number (Y)?

Example: 20 is 30% of what number?

is % of what number (Y)?

Percentage Change Calculator

Percentage Difference Calculator

Proteggi la tua casa con la smart home

Telecamere, videocitofoni e serrature IoT di Imou. Installazione semplice, controllo da app, affidabilità provata.

Scopri Imou
Was this calculator useful?
Be the first to rate!

Embed on your site

Copy the code below to embed this calculator on your website or blog.

Embed preview →

More Details

Percentage calculation: formulas with worked examples

Every percentage calculation links three numbers: the percentage (P), the total (Y) and the part (X). If you know two of them, you get the third with X = Y × P ÷ 100. Example: 20% of 150 is 150 × 20 ÷ 100 = 30. These are the formulas you need most often, each with an example.

What you want to knowFormulaExample
What P% of a number isY × P ÷ 10020% of 150 = 30
What percentage X is of YX ÷ Y × 10030 out of 150 = 20%
Which total X is P% ofX × 100 ÷ P45 is 15% of 300
Percentage between two numbers (increase or decrease)(final − initial) ÷ initial × 100from 80 to 100 = +25%
Adding a percentageY × (1 + P ÷ 100)150 + 20% = 180
Subtracting a percentage (discount)Y × (1 − P ÷ 100)150 − 20% = 120
Going back to the value before the increase (reverse calculation)total ÷ (1 + P ÷ 100)122 ÷ 1.22 = 100

Worked example: how much did the bill go up

The bill goes from €84 to €105. The increase is 105 − 84 = €21; as a percentage, 21 ÷ 84 × 100 = 25%. The denominator is always the starting value: dividing by 105 gives 20%, which is instead how much the new bill would have to drop to get back to €84.

Two common mistakes

  • An increase and a discount of the same percentage do not cancel out. €100 + 20% = €120; €120 − 20% = €96, i.e. 4% less than the starting point.
  • To remove an included percentage, do not subtract the percentage. From a price of €122 including 22% VAT, the net amount is 122 ÷ 1.22 = €100; 122 − 22% would give €95.16, which is wrong.

Quick table of the most common percentages

Percentageof 80of 250of 1,200
5%412.560
10%825120
15%1237.5180
20%1650240
25%2062.5300
50%40125600

Mental shortcut: 10% is obtained by moving the decimal point one place to the left (10% of 250 = 25), 5% is half of 10%, and 20% is double.

The Five Available Calculators

1. Basic Percentage Calculator

The basic percentage calculator is the most versatile tool in the suite. Based on the fundamental formula P% of Y = X, it allows you to calculate any value by entering the other two. It is perfect for:

  • Calculating the result: What is 25% of 200? (Answer: 50)
  • Finding the percentage: 30 is what percentage of 150? (Answer: 20%)
  • Determining the base value: 45 is 15% of what number? (Answer: 300)

This calculator automatically handles special cases such as division by zero and provides clear error messages when calculations are not mathematically possible.

2. "What Percentage Is X of Y?" Calculator

A specialized tool for quickly determining the percentage ratio between two numbers. Ideal for calculating:

  • Sales performance relative to targets
  • Project completion percentage
  • Conversion rate in digital marketing
  • Proportions and ratios in statistics

Practical example: If you sold 75 units against a target of 100, this calculator will instantly tell you that you achieved 75% of the target.

3. "X Is P% of What Number?" Calculator

This calculator solves the inverse problem: knowing a value and its percentage of an unknown total, it determines the total value. Common applications include:

  • Calculating the original price before a discount (e.g., you pay $80 after a 20% discount: $80 is 80% of the full price, which was therefore 80 ÷ 0.80 = $100)
  • Determining the initial capital from a percentage interest
  • Calculating the total budget from a partial expense
  • Financial analysis and accounting

4. Percentage Change Calculator

The percentage change calculator measures the relative increase or decrease between two values over time. Frequently used for:

  • Financial analysis: Growth or decline in revenue, profits, investments
  • Economics: Inflation, GDP variations, unemployment rates
  • Fitness and health: Percentage weight loss or gain
  • Marketing: Web traffic variation, conversions, engagement

The formula used is: [(Final Value - Initial Value) / |Initial Value|] × 100

Example: If revenue goes from $50,000 to $65,000, the percentage change is +30% (a 30% increase).

5. Percentage Difference Calculator

Unlike percentage change, percentage difference measures the divergence between two values relative to their average, without considering which is the initial or final value. Useful for:

  • Comparing prices of similar products from different suppliers
  • Analyzing discrepancies in scientific measurements
  • Evaluating differences between estimates and actual values
  • Comparing team or department performance

Formula: |Value1 - Value2| / [(|Value1| + |Value2|) / 2] × 100

Features and Benefits

  • Maximum precision: Accurate calculations up to 10 decimal places with intelligent rounding
  • Advanced error handling: Input validation and clear messages for mathematically impossible operations
  • Intuitive interface: Clean, user-friendly design that requires no complex instructions
  • Responsive design: Works perfectly on desktop, tablet, and smartphone
  • Instant results: Real-time calculations without page reloads
  • Decimal support: Accepts both periods and commas as decimal separators
  • Privacy guaranteed: All calculations are performed locally in the browser, with no data transmission

Tips for Optimal Use

For accurate results:

  • Always enter at least two values in the basic calculator to obtain the third
  • Use the "Clear" button to reset all fields between calculations
  • For percentages with many decimals, the system automatically rounds for a clearer reading
  • Pay attention to error messages: they indicate when an operation is not mathematically valid
  • In the percentage change calculator, the initial value cannot be zero (exception: 0→0 = 0% change)

Frequently Asked Questions (FAQ) about Percentage Calculators

How do you calculate the percentage of a number?

To calculate the percentage of a number, multiply the number by the percentage and divide by 100. Formula: (Percentage × Number) ÷ 100. For example, to calculate 20% of 150: (20 × 150) ÷ 100 = 30. With our basic calculator, simply enter 20 in the percentage field and 150 in the base field to get the result automatically.

How do you calculate the percentage between two numbers?

It depends on what you want to know. If you want to know how much one number is of the other, divide the part by the total and multiply by 100: 30 out of 150 = 30 ÷ 150 × 100 = 20%. If you want to know how much a value has changed, use the change: (new − old) ÷ old × 100. From 80 to 100 = (100 − 80) ÷ 80 × 100 = +25%; a negative result indicates a decrease.

How do you add or subtract a percentage from a number?

To add 20% to 150, multiply by 1.20: 150 × 1.20 = 180. To subtract it, multiply by 0.80: 150 × 0.80 = 120. In general: number × (1 + P ÷ 100) to add, number × (1 − P ÷ 100) to subtract. To go back from a total that has already been increased, divide: 180 ÷ 1.20 = 150.

What is the difference between percentage change and percentage difference?

Percentage change measures the relative shift from an initial value to a final value (e.g., growth over time) and is directional. Percentage difference compares two values relative to their average, without considering which is first or second, and is symmetrical. Example: from 100 to 150, the change is +50%, but from 150 to 100, it is -33.33%. The percentage difference between 100 and 150 is 40% in both directions.

How do I calculate the original price knowing the discount?

If you know the discounted price and the discount percentage, use the "X is P% of what number?" calculator. However, you need to enter the remaining percentage, not the discount percentage. For example: an item costs $68 after a 15% discount. The discounted price represents 85% (100% - 15%) of the original price. Enter 68 as X and 85 as the percentage: the calculator will show that the original price was $80.

Can I use negative numbers in the calculators?

Yes, the calculators support negative numbers for most operations. This is particularly useful for calculating changes with negative values (e.g., financial losses, sub-zero temperatures) or percentage differences. The percentage difference calculator uses absolute values to always provide positive and meaningful results.

Why do I get an error message when I enter zero?

Some calculations involving zero are not mathematically defined. For example, you cannot calculate "what is X as a percentage of 0" (division by zero), nor "what is the percentage change from 0 to a non-zero number" (the result is infinite). The calculator detects these cases and displays clear error messages. The only valid case is 0% of any number = 0, or change from 0 to 0 = 0%.

How do I interpret a negative percentage change?

A negative percentage change indicates a decrease. For example, if sales go from 200 to 150 units, the change is -25%, meaning a 25% decrease. The calculator automatically shows whether it is an increase or decrease, along with the absolute percentage value for easier reading.

Does the calculator round results?

Yes, the displayed result is rounded to 10 decimal places and trailing non-significant zeros are removed for a cleaner display. For example, 1 out of 3 appears as 33.3333333333%, while 25.0000000000 will appear as 25. This ensures both precision and readability of results.

Can I use commas instead of periods for decimals?

Yes, the calculator accepts both periods and commas as decimal separators. You can enter 12.5 or 12,5 and the system will correctly interpret both notations. This feature is particularly useful for European users accustomed to the comma as a decimal separator.

What is the mathematical formula behind each calculator?

The formulas used are:

  • Basic percentage: X = (P ÷ 100) × Y, or P = (X ÷ Y) × 100, or Y = X ÷ (P ÷ 100)
  • Percentage change: [(Final Value - Initial Value) ÷ |Initial Value|] × 100
  • Percentage difference: [|Value1 - Value2| ÷ ((|Value1| + |Value2|) ÷ 2)] × 100

All formulas handle special cases and edge conditions to ensure results are always correct.

Is my data sent to a server?

No, all calculations are performed entirely in your browser (client-side). No data you enter is transmitted to external servers or stored in any way. Your privacy is fully guaranteed, and you can use the calculators even offline after the initial page load.

Can I use the calculators for professional financial calculations?

Yes, the calculators offer sufficient precision for most professional financial, accounting, and commercial calculations. However, for critical financial operations that require specific regulatory compliance (e.g., official tax calculations, certified financial statements), it is recommended to verify results with certified professional software or specialized consultants.

How do I calculate a compound discount (discount on a discount)?

To calculate multiple successive discounts, you need to apply them sequentially. For example, for a 20% discount followed by an additional 10%: first calculate 20% of the original price to get the first discounted price, then calculate 10% of this new price. Note: a 20% + 10% discount does NOT equal a total 30% discount, but approximately 28% (since the second discount is applied to the already-discounted price).

Vuoi saperne di più? Leggi la nostra guida completa con formula, esempi e spiegazioni dettagliate.