Percentage of total calculator

This calculator answers two questions: what share one value is of a total, and how a set of values breaks down into percentages (budget, sales by product, votes…).

What percentage of Y is X?

Result

30 is 20% of 150

Formula

Percentage = X ÷ Y × 100

Working

  1. 30 ÷ 150 = 0.2
  2. 0.2 × 100 = 20%

Formula

Share (%) = part ÷ total × 100

18 pupils out of 24 is the fraction 18/24 = 0.75 = 75%.

Breaking down several values

The “Breakdown” tab adds up all the values you enter, then shows each one’s share of the total. Enter one value per line.

Budget: £900 rent, £450 food, £150 transport. Total £1,500 → rent 60%, food 30%, transport 10%.

When shares are rounded, they may add up to 99.99% or 100.01%: three thirds rounded to 33.33% give 99.99%. This is a rounding effect, not a mistake.

Examples and pitfalls

Pass rate: 46 passes out of 58 candidates = 46 ÷ 58 × 100 ≈ 79.31%.

  • Choose the right total: in an election, the share differs depending on whether you divide by valid votes, ballots cast or registered voters.
  • Proportion is not change: to compare the same quantity at two different times, use the percentage change calculator.

Frequently asked questions

How do I work out what percentage one number is of another?

Divide the first number by the second and multiply by 100: 45 out of 180 = 25%.

Can a share be more than 100%?

Not if the part really belongs to the total. A result above 100% means you are comparing two separate quantities, such as 150% of a target.

How do I calculate a success rate?

Divide the number of successes by the number of attempts and multiply by 100: 42 correct answers out of 50 = 84%.