What percent is X of Y calculator

Enter the part and the whole to get the percentage. Good for exam scores, progress and shares.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter part and whole.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

Percentage = (part ÷ whole) × 100

Example

Inputs: Part = 45, Whole = 60. Result: Percentage: 75%; As a decimal: 0.75.

Limits and caveats

  • If the part is larger than the whole the result exceeds 100%, which is mathematically correct.

Questions about this tool

I scored 45 out of 60. What is my percentage?

Divide 45 by 60 to get 0.75, then multiply by 100. Your score is 75%.

Why do I get an error when the whole is zero?

Division by zero is undefined, so there is no percentage to calculate.

How is this different from the percentage of a number tool?

Here you know the part and the whole and want the percentage. The other tool starts from the percentage and finds the part.