What Percent Of Calculator
Find what percent X is of Y instantly.
Result
How it is calculated
The tool divides the first number (the part, X) by the second (the whole, Y) and scales it to 100: percent = X ÷ Y × 100. The whole goes second and is the number you compare against, the base. Both numbers can be any real values, with decimals and negatives allowed. The only value that does not work is a whole of 0, since division by zero has no answer; the tool then returns no result. If X is larger than Y, the answer is above 100%, and a negative X gives a negative percentage. The percentage is rounded to two decimals, so 1 out of 3 shows as 33.33%. The two numbers are also echoed back with two decimals so you can confirm what was read.
Worked example
You scored 17 on a quiz out of 40. Divide the part by the whole: 17 ÷ 40 = 0.425. Multiply by 100 to get a percentage: 0.425 × 100 = 42.50%. So 17 is 42.50% of 40. Checking in reverse, 42.5% of 40 is 0.425 × 40 = 17, which confirms the result.
Common mistakes
- Swapping the two numbers. 17 out of 40 is 42.50%, but 40 out of 17 is 235.29%; the whole (the base you compare against) goes in the second field.
- Using this to find a percentage change between two values. Change is (new − old) ÷ old, so the base is the old value, not the larger one.
- Expecting a result of 100% or less. When the part is larger than the whole the result is simply above 100%, which is correct, not an error.
- Reading 0.425 as the final answer. The tool already multiplies by 100, so do not enter the whole as a percentage as well.
About this calculator
The 'what percent of' question — what percent is X of Y — is one of the most common everyday math problems, solved with the simple formula (X / Y) × 100. It shows up constantly: figuring out a test score (42 correct out of 50 questions), checking what share of a budget a category takes up, comparing part-to-whole relationships in statistics, or verifying a discount actually matches what a store advertised.
Students use it for grades and homework, shoppers use it to sanity-check sale prices, and professionals use it in reporting to express one figure as a share of a total — market share, project completion, or survey results. Because it's just a ratio scaled to 100, the same formula applies whether the numbers are tiny fractions or large totals.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Be careful not to confuse this with percentage change. If a price goes from 100 to 150, 150 is 150 percent of 100, but the increase is 50 percent. The first number is the part and the second is the base you compare against, so swapping them gives a different answer. Which everyday percentage question do you find yourself working out by hand?