Percentage Calculator

Work out what X% of a number is, and what percentage one number is of another.

✓ Last reviewed:

Report a correction

Spotted a wrong result, label or typo? Tell us — we review every report.

The percentage you want to calculate

The number to take the percentage of

Your result

Fill in the fields above to see your result.

Related calculators

Percentage calculator: what it works out and who it’s for

The Davided percentage calculator solves two questions at once from the same two fields. You enter a percent and a number, and it returns: how much that percent of the number is, and what percentage of that number the value you typed represents. Those are the two most common percentage questions — discounts, commissions, margins, test scores, shares of a total — handled in a single calculation.

This percentage calculator helps when you’re shopping (how much you save after a discount), at work (commission, share of a budget), at school (what percent of the tasks are done), and anywhere you need a proportion fast. Wondering how to calculate a percentage without doing the math in your head? Type two numbers and the calculator does the rest — instantly, no button to press.

How to use the calculator

  1. In the Percent (%) field, enter the percentage you care about — say 20.
  2. In the Number field, enter the value you’re taking the percentage of — say 150.
  3. The result appears immediately.

You get two results from the same inputs:

  • X% of the number — for example, 20% of 150.
  • X as a percentage of the number — what share of the number your entered percent represents when treated as a plain value.

The percent can be negative (a drop or a discount) — then the result is negative too. If you enter 0 in the Number field, the calculator avoids dividing by zero and the second result shows 0.

How the percentage calculator works: the formulas

How to calculate X% of a number

The basic formula for a percentage of a number:

X% of Y = (X / 100) × Y

Divide the percent by 100 (turn it into a decimal), then multiply by the number. For example, 20% becomes 0.2, and you multiply that by the value.

What percentage of a number Y is the value X

The reverse question — what share of the whole a given value makes up:

(X / Y) × 100 = result in %

Divide the part by the whole and multiply by 100. It’s the same calculation you use for “what percent of the tasks did I finish” or “what’s this as a share of the budget.”

The calculator computes both formulas at once and rounds to two decimal places.

Step-by-step examples

Example 1: what is 20% of 150

  • Percent: 20, Number: 150.
  • (20 / 100) × 150 = 0.2 × 150 = 30.
  • Second result: (20 / 150) × 100 = 13.33% — so 20 is 13.33% of 150.

Example 2: a 7.5% discount on 1,200

  • Percent: 7.5, Number: 1,200.
  • (7.5 / 100) × 1,200 = 0.075 × 1,200 = 90.
  • The discount is 90, so after the markdown you pay 1,200 − 90 = 1,110.

Example 3: a 15% decrease

  • Percent: −15, Number: 200.
  • (−15 / 100) × 200 = −0.15 × 200 = −30.
  • A negative percent gives a negative result: the value changes by −30.

Frequently asked questions

How do I calculate a percentage of a number?

Divide the percent by 100 and multiply by the number: X% of Y = (X / 100) × Y. For example, 20% of 150 is (20 / 100) × 150 = 30. Turning the percent into a decimal (20% = 0.2) and multiplying works for any value.

The same method handles amounts with cents and fractional percentages like 7.5% or 0.5%. In the calculator you type the percent in the first field, the number in the second, and see the result at once.

How do I find what percentage one number is of another?

Divide the part by the whole and multiply by 100: (part / whole) × 100. For example, 30 out of 150 is (30 / 150) × 100 = 20%. That’s how you work out a share, an attendance rate, or how much of a goal is complete.

A result above 100% means the part is larger than the whole you chose — which is normal, for instance when sales beat the plan. In the calculator this is the second result: “X as a percentage of the number.”

How do I calculate percentage change?

Subtract the starting value from the ending value, divide the difference by the starting value, and multiply by 100: (new − old) / old × 100. Going from 150 to 180 is (180 − 150) / 150 × 100 = 20%. A positive result is an increase, a negative one a decrease.

You can do this here in two steps: subtract the values yourself (180 − 150 = 30), enter the difference 30 in the percent field and 150 in the number field — the second result shows the 20% change.

Can a percentage be negative or greater than 100%?

Yes. A negative percent describes a drop or a discount — then “X% of the number” is negative too, e.g. −15% of 200 is −30. A percent above 100% describes a value larger than the whole, e.g. 150% of 40 is 60.

The calculator accepts both cases without limits, so you can work out increases and reductions with the same tool.