X is What % of Y?
Find out what percentage one number is of another. Perfect for grades, discounts after the fact, and share-of-total calculations.
No calculations yet
Your history will appear here
Your Data Never Leaves Your Device
Unlike other calculators that upload your data to remote servers, everything here runs 100% in your browser. Built by a cybersecurity professional who believes privacy shouldn't be optional.
100% Client-Side
All percentage calculations run entirely in your browser. Your numbers never leave your device.
No Server Storage
We don't operate backend servers that process your data. This is a static site served via CDN — there's nowhere to store it.
No Tracking Without Consent
Analytics only activate after you explicitly accept cookies. Decline and we track nothing — zero scripts, zero pixels.
Open Architecture
Built as a static export with no API calls. You can verify this yourself — inspect network traffic and see zero outbound data.
How this works
Percentage = (Part ÷ Whole) × 100Divide the part by the whole, then multiply by 100 to convert the decimal to a percentage. For 25 out of 80: 25 ÷ 80 = 0.3125, then × 100 = 31.25%.
Examples
Test score as a percentage
You got 43 out of 50 questions correct. 43 ÷ 50 = 0.86, which is 86%. This is the most common real-world use — converting a raw score into a percentage grade.
Market share
Your product sold 3,200 units in a market that sold 25,000 total units. Your market share is 3,200 ÷ 25,000 = 0.128 = 12.8%. Business analytics use this constantly.
Goal progress
You have saved $3,500 toward a $10,000 emergency fund. You are 3,500 ÷ 10,000 = 35% of the way there. Useful mental model for any "progress toward target" tracking.
What percent of a bill is tax?
Your total is $108.10 with $8.10 of sales tax. The tax portion is 8.10 ÷ 108.10 = 7.49%. Note this gives the tax as a share of the total — not the tax rate applied to the subtotal, which would be 8.10 ÷ 100 = 8.1%.
Common questions
The two calculations are inverses. "What is 25% of 80?" multiplies to give you 20. "20 is what percent of 80?" divides to give you 25%. If you know the rate and the total, use "% of a number". If you know two amounts and want the rate, use this calculator.
Mathematically, no number is a percentage "of zero" — dividing by zero is undefined. If your whole is 0, there is nothing to compare the part against. Check whether you mixed up the part and whole fields.
Divide the numerator by the denominator, then multiply by 100. The fraction 3/8 becomes 3 ÷ 8 = 0.375 = 37.5%. This calculator does both steps for you — enter the numerator as the part and the denominator as the whole.
Yes, and the percentage will be over 100%. If a project was estimated at 40 hours but actually took 56, it took 56 ÷ 40 = 140% of the estimate. Common in budgeting, estimation accuracy, and overage reporting.
Exact division often produces repeating or long decimals. 1 ÷ 3 = 33.333...%. For most use cases, round to 1–2 decimal places. The calculator displays two decimal places by default to balance precision and readability.
No. Calculations run in your browser only. Nothing is sent to a server. History is stored locally and you can clear it at any time.