Skip to main content
100% client-side · exact fractions

Percent to Total Calculator

45 is 30% of what number? Find the total, the part, or the percent. Enter any two corners of the percent triangle and this calculator solves the third, showing every step and the exact fraction. Your numbers never leave your browser.

The calculator

Formula: total = X ÷ P × 100. Example: 45 ÷ 30 × 100 = 150.

Worked examples

45 is 30% of what number?

150

total = 45 ÷ 30 × 100 = 150. Check: 30% of 150 = 45.

What is 20% of 250?

50

part = 20 ÷ 100 × 250 = 50.

37 out of 148 is what percent?

25%

percent = 37 ÷ 148 × 100 = 25. Exact, no rounding.

What fraction is 12.5%?

1/8

12.5 ÷ 100 = 0.125 = 1/8 exactly.

1 is 3% of what number?

33.3333…

total = 1 ÷ 3 × 100 = 100/3. The decimal repeats, so the exact fraction is shown.

150 is 200% of what number?

75

Percents over 100% work the same: 150 ÷ 200 × 100 = 75.

Percent-to-total quick table

If X = 100 is P% of the total, the total is:

PTotal = 100 ÷ P × 100Exact
10%1,0001000
20%500500
25%400400
50%200200
75%133.3333…400/3 (repeating)

Read it as: 100 is 10% of 1,000; 100 is 75% of 133.333… (exactly 400/3).

Which percent calculator do you need?

Your questionUse
“45 is 30% of what number?” — find the missing total, part, or percentThis tool (you are here)
“What is X% of Y?” / “X is what % of Y?” (generic)Percentage calculator
“50 grew to 75 — what is the percent change?”Percent change calculator
“100 grew to 130 — what is the percent increase?”Percent increase calculator
“30% off an $80 item — what do I pay?”Percent off calculator

Boundary: this tool solves the part / percent / total triangle (any two known, find the third). It does not measure change between two values over time — that is percent change (directional, signed) and percent increase (growth only).

The percent triangle

part = percent ÷ 100 × total

Know any two corners and you can find the third:

total = X ÷ P × 100  |  part = P ÷ 100 × total  |  percent = X ÷ total × 100

Frequently asked questions

How do I find the total when I know X is P% of it?

Divide X by P, then multiply by 100: total = X / P * 100. Example: 45 is 30% of the total, so the total is 45 / 30 * 100 = 150. You can check it: 30% of 150 is 45.

45 is 30% of what number?

150. Using the formula total = X / P * 100: 45 / 30 * 100 = 150.

What is 20% of 250?

50. Multiply the percent as a decimal by the total: 0.20 * 250 = 50. In fraction form: 20/100 * 250 = 50.

37 is what percent of 148?

25%. Divide the part by the total and multiply by 100: 37 / 148 * 100 = 25. So 37 marks out of 148 is a 25% score.

What fraction is 12.5%?

1/8. Divide by 100: 12.5 / 100 = 0.125 = 1/8. Other handy ones: 25% = 1/4, 33.333...% = 1/3, 66.666...% = 2/3, 75% = 3/4.

1 is 3% of what number?

33.333..., exactly 100/3. The decimal never terminates, so this calculator shows the exact fraction 100/3 next to the rounded decimal (33.3333 at 4 decimal places) instead of hiding the repeating part.

How do I convert my test marks to a total? (percentage to total marks)

If your marks are P% of the total, the total is marks / P * 100. Example: you scored 37 marks and that is 25% of the paper, so the paper's total is 37 / 25 * 100 = 148 marks. Use the "Find total" tab above.

Can the percent be more than 100%?

Yes. A percent over 100% just means the part is bigger than the total. Example: 150 is 200% of 75, so the total is 150 / 200 * 100 = 75. The math works the same way.

What happens if the percent is 0%?

The total is undefined: you would be dividing by zero, and any total multiplied by 0% gives 0. This calculator shows an honest error instead of a fake number.

Is there a mental-math shortcut for percent to total?

Yes: find 1% first. If 45 is 30%, then 1% is 45 / 30 = 1.5, and the total (100%) is 1.5 * 100 = 150. Same answer, easier to do in your head.

What is the Excel or Google Sheets formula for percent to total?

If X is in A1 and the percent P is in B1, use =A1/B1*100 (equivalently =A1/(B1/100)). Example: =45/30*100 returns 150. For P% of a total in C1: =B1/100*C1. For X of total as a percent: =A1/C1*100, formatted as %.

What is the difference between this and a percent change calculator?

This tool solves the part/percent/total triangle: given any two of the three, it finds the third. A percent change calculator measures how much a value grew or shrank between two points in time (for example 50 to 75 is +50%). For that, use a percent change calculator.

Why does the calculator sometimes show a fraction like 100/3?

Because that is the exact answer. 1 is 3% of exactly 100/3, and no finite decimal equals it (33.3333 is rounded). The calculator shows both: the rounded decimal for everyday use and the exact fraction so nothing is hidden.

How many decimal places should I use?

Use the precision selector (0 to 10 decimals). For money, 2 decimals is standard; for test scores, 0 or 1 is usually enough. Rounding here is half-up: 2.675 at 2 decimals becomes 2.68, the way most people expect.

Does the percent have to be a whole number?

No. Decimals work fine: 12.5% of 80 is 10, and 2.675% of 100 is 2.675 (exactly 107/40). Enter the percent exactly as you have it.

What is the percent triangle?

The three quantities are locked together: part = percent/100 * total. Know any two and you can find the third: total = part/percent * 100, part = percent/100 * total, percent = part/total * 100. The three tabs of this calculator are the three corners of that triangle.

Free tool by NRTechStudio