Percentage basics

What Percentage Is X of Y?

To find what percentage one number is of another, divide the part by the whole and multiply by 100. For example, 30 out of 120 is 30 ÷ 120 × 100 = 25%. If the whole is zero, the calculator explains why there is no answer instead of showing an error code.

What percentage is one number of another?

Percentage

25%

30 is 25% of 120.

Formula

Percentage = Part ÷ Whole × 100

Step by step

  1. Divide the part by the whole: 30 ÷ 120 = 0.25
  2. Multiply by 100: 0.25 × 100 = 25%
Part: 30 (25%) · Whole: 120 0%25%50%75%100% Part: 30 · 25% Whole (100%): 120
Visual representation

Formula

Percentage = Part ÷ Whole × 100

The division gives you the proportion and multiplying by 100 turns it into a percentage. If the part is bigger than the whole, the result is above 100%.

Choosing the right whole is what matters most: the share of left-handed students in a class is measured against all students, not against right-handed ones.

How to use this calculator

  1. Enter the part you want to express as a percentage.
  2. Enter the whole (the 100% reference).
  3. The answer updates as you type, with the division and the ×100 step shown.

Worked examples

What percentage is 30 of 120?

Solution: Percentage: 25%

30 is 25% of 120.

  1. Divide the part by the whole: 30 ÷ 120 = 0.25
  2. Multiply by 100: 0.25 × 100 = 25%

I got 43 out of 50 questions right. What is my score?

Solution: Percentage: 86%

43 is 86% of 50.

  1. Divide the part by the whole: 43 ÷ 50 = 0.86
  2. Multiply by 100: 0.86 × 100 = 86%

A survey had 1,384 “yes” answers out of 2,500. What share is that?

Solution: Percentage: 55.36%

1,384 is 55.36% of 2,500.

  1. Divide the part by the whole: 1,384 ÷ 2,500 = 0.5536
  2. Multiply by 100: 0.5536 × 100 = 55.36%

Common mistakes

  • Dividing the wrong way round

    120 ÷ 30 = 4 is not a percentage. The part always goes on top.

  • Using the wrong whole

    If 12 of 40 students fail, the failure rate is 12 ÷ 40, not 12 ÷ 28.

  • Confusing it with percentage change

    Going from 80 to 100 is not “80%”; it is a 25% increase. Use the percentage change calculator for before-and-after comparisons.

When to use it

  • Test scores

    Turn correct answers into a percentage.

  • Surveys and statistics

    Express responses or votes as a share of the total.

  • Spending

    See what share of your income goes on rent or groceries.

Frequently asked questions

How do I find the percentage between two numbers?

Divide the part by the whole and multiply by 100. 45 out of 180: 45 ÷ 180 = 0.25 → 25%.

Can the answer be more than 100%?

Yes, when the part is larger than the reference. 150 compared with 100 is 150%.

What if the whole is 0?

You cannot divide by zero, so the percentage is undefined. The calculator tells you so.

Methodology

Double-precision division with binary noise (such as 0.1 + 0.2) cleaned before display. A warning appears when the whole is negative.

Calculation Methodology — Percentage Calculator

References