Percentage Calculator

This percentage calculator answers the five most common percentage questions at once. Type your numbers in any box and the answer appears as you type.

What is X% of a number?

% of

What percent is one number of another?

out of

Percentage change

From to

Add or subtract a percentage

%

Find the whole from a percentage

is %

How to use the percentage calculator

Each box answers one common question and updates as you type: what a percentage of a number is, what percent one number is of another, the percentage change between two values, a number plus or minus a percentage, and the whole when you know a part and its percentage.

Percentage change is measured against the starting value, so going from 80 to 100 is a 25% increase, while going back from 100 to 80 is a 20% decrease. Decimals and negative numbers work, and results show up to six decimal places.

Everyday uses for a percentage calculator

Work out a discount or sale price, add VAT or a tip, compare a price rise, check a score or exam mark as a percentage, track how much a salary, rent or share price changed, or find the original price before a discount.

Percentage calculator formulas

Percentage Calculator

Every box in the percentage calculator uses one simple formula. X% of a number is the number times X divided by 100. To find what percent A is of B, divide A by B and multiply by 100. Percentage change is the new value minus the old value, divided by the old value, times 100.

Adding a percentage multiplies the number by 1 plus the rate, so adding 20% means multiplying by 1.2. Subtracting 20% means multiplying by 0.8. Finding the whole works backwards: if 30 is 25% of a number, that number is 30 ÷ 0.25 = 120.

Percentage calculator examples

Discount: a jacket costs 80 and is 35% off. The saving is 80 × 0.35 = 28, so you pay 52. Tax: a 150 bill plus 20% VAT is 150 × 1.2 = 180.

Exam score: 42 out of 60 is 42 ÷ 60 × 100 = 70%. Pay rise: a salary that goes from 2,400 to 2,580 rose by 7.5%. Price before tax: 96 including 20% tax is 96 ÷ 1.2 = 80 before tax.

Percent or percentage points?

A change in a rate is often given in percentage points. If an interest rate goes from 2% to 3%, it rose by 1 percentage point, but by 50% in relative terms. News reports mix the two up, so check which one is meant. The article on the percentage point explains the difference in more detail.

Also, percentages do not simply add up. Two discounts of 20% and 10% give 28% off, not 30%, because the second one is taken from the already reduced price. Likewise, a 10% rise followed by a 10% fall leaves you 1% below where you started.

Percentage calculator shortcuts for everyday maths

Some percentages are easy to work out in your head. 10% is the number divided by 10, 5% is half of that, and 15% is the two added together. 25% is a quarter and 50% is a half.

There is also a handy swap: X% of Y equals Y% of X. So 8% of 50 is the same as 50% of 8, which is 4. For anything less tidy, the boxes above give the exact answer instantly.

Need a tool like this built for your business?

We build fast, private web tools and apps that run in the browser. That includes calculators, booking widgets and internal dashboards.

Talk to us about a web tool

Frequently Asked Questions

How do I calculate a percentage of a number?

Multiply the number by the percentage and divide by 100. For 20% of 150: 150 × 20 ÷ 100 = 30. The first box does this for you.

How is percentage change calculated?

Subtract the old value from the new one, divide by the old value and multiply by 100. From 80 to 100: (100 − 80) ÷ 80 × 100 = 25% increase.

How do I find the price before a discount?

Use the last box: enter the price you paid as the part and the percentage you paid (100 minus the discount) as the percentage. A 75 price after 25% off came from 75 ÷ 0.75 = 100.

Why is a 50% rise then a 50% fall not the same number?

Because each change is measured from a different starting value. 100 plus 50% is 150, but 50% of 150 is 75, so you end up at 75, not 100.

Is the percentage calculator free?

Yes, it is free with no sign-up, and the calculations run in your browser.

Percentage calculator: more questions

How do I add VAT or sales tax to a price?

Use the add or subtract box: enter the price, choose add and type the tax rate. 100 plus 20% gives 120. To remove 20% tax from 120, use the last box with 120 as the part and 120 as the percentage, which gives 100.

How do I work out a percentage of a total?

Divide the part by the total and multiply by 100. For 18 out of 24 that is 18 ÷ 24 × 100 = 75%. The second box does this for you.

Can the percentage calculator handle decimals and negative numbers?

Yes. You can type decimals such as 12.5 and negative values such as -40. Results are rounded to a sensible number of decimal places.

How do I work out a percentage in my head?

Start from 10%, which is the number divided by 10. Halve it for 5% and add both for 15%. Double the 10% figure for 20%.

What is the difference between margin and markup?

Markup is profit divided by cost, while margin is profit divided by the selling price. Buying at 80 and selling at 100 is a 25% markup but a 20% margin.

A PROJECT STARTS WITH A CONVERSATION

Tell us what
you have in mind.

Share the outcome you need, your existing systems and any constraints. You don't need a technical specification to start.

If the form does not work, email us directly at contact@mecanik.dev

Direct engineering support

Direct technical collaboration.
A clear scope and accountable delivery.