Quick Examples
Formula
Percentage = (X / Y) × 100
(25 / 200) × 100 = 12.5%
What Percent is X of Y? — Find % of a Number (X is What % of Y)
Type two numbers — "15 is what percent of 60?" → 25% — and the page returns the percentage relationship, useful when the percentage is what you need to know rather than what you have. The formula is the inverse of the standard percentage calculator: instead of finding X% of Y (which gives you a value), this finds (X / Y) × 100 (which gives you a percentage). Common use cases: computing a test score (you got 17/20 → 85%), figuring out what fraction of monthly income goes to rent (€800 of €2,200 → 36.4%), tracking project completion (12 of 30 tasks done → 40%), measuring market share (your 1,200 sales of 50,000 industry total → 2.4%), or any situation where you have a part and a whole and want their ratio as a percent.
About this tool
Three percentage questions cover almost every everyday use: "X% of Y is what?" (the standard percentage calculator), "X is what % of Y?" (this calculator), and "X is Y% of what?" (often called percentage-base — calculate Y/(%/100)). This tool handles the second question with formula (X / Y) × 100. Worked example: X = 17, Y = 20 → 17 / 20 × 100 = 0.85 × 100 = 85%. Decimals are handled cleanly so 17.5 / 20 × 100 = 87.5% works as expected. Edge case: Y = 0 is undefined (you can't divide by zero) and surfaces a friendly message. Negative inputs produce mathematically valid signed results which are correct in absolute math but counter-intuitive for everyday questions — most users entering positives expect positive results, and any negative input should be deliberate. Common reference cases: 17/20 test score = 85%, €800 rent of €2,200 income = 36.4% (above Spain's recommended ≤30-35% housing-cost ratio per Banco de España guidance), 12/30 tasks = 40%, 750 mb / 1024 mb storage = 73.2%, $4,200 / $50,000 sales pipeline = 8.4% conversion.
- Formula (X / Y) × 100 — the reverse-direction percentage question
- Step-by-step formula breakdown shown under the result
- Reactive — recalcs as you change either value
- Decimal inputs supported (precision grades, financial ratios)
- Friendly message when Y = 0 (division by zero edge case)
- Quick example buttons for typical use (test scores, ratios)
- Copy result with one click
- No upload — your numbers stay in your browser
- Useful for grades, savings rates, completion %, market share, ratios
- Pairs with percentage-calculator (standard direction) for the full toolset
Free. No signup. Your inputs stay in your browser. Ads via Google AdSense (consent required).
Frequently asked questions
How does the (X / Y) × 100 formula work — with worked examples?
The formula reads X / Y × 100, computing what fraction X is of Y, expressed as a percentage. Worked examples: a test score 17 / 20 × 100 = 0.85 × 100 = 85% (= a B+ in most US schools, an Upper Second 2:1 in the UK QAA framework). Project completion 12 of 30 tasks done = 12 / 30 × 100 = 40%. Storage 750 / 1024 = 73.2% full. Market share 1,200 sales of 50,000 industry total = 2.4%. Decimals: 17.5 / 20 × 100 = 87.5%, the page handles fractional numerators and denominators cleanly. Per ISO 80000-1:2022 (TC 12), the % symbol is dimensionless (1 % = 0.01) and the result is always a part-of-whole ratio of the same kind — so the units of X and Y must match (€ / €, kg / kg, hours / hours, etc.) for the result to be meaningful.
What are the three percentage questions and when does each apply?
Three distinct percentage questions cover almost every everyday percentage problem: (1) "What is X% of Y?" → multiply: X/100 × Y (the standard percentage calculator — for tax, tip, discount, increase). (2) "X is what % of Y?" → divide: (X / Y) × 100 (this calculator — for grades, savings rates, completion %, market share, ratios). (3) "X is Y% of what?" (percentage-base) → divide and scale: X / (Y/100) (for back-solving the original from a known percentage and result, e.g., "sales tax was $7 at a 7% rate, what was the pre-tax amount?"). The CFA Program Level I Quantitative Methods curriculum treats all three under "Rates and Returns". The three are inverses of each other: knowing any two of {part, whole, percent} lets you solve for the third. Common mistake: confusing question 2 with question 3 in financial questions like "the deposit is 20% of the price" (Q3, base) vs "the discount is 20% of the price" (Q2, fraction).
What are common housing-cost-of-income benchmarks?
United States: the "30% rule" originates with the HUD Brooke Amendment to the Housing Act of 1937, passed 24 December 1969 by Senator Edward Brooke (Massachusetts), originally capping public-housing tenant rent at 25% of adjusted income; raised to 30% by the Omnibus Budget Reconciliation Act of 1981 (P.L. 97-35 § 322). This 30% threshold is the bedrock affordability standard across HUD programs including the Housing Choice Voucher (Section 8) program created by the Housing and Community Development Act of 1974. Spain: Banco de España regulatory guidance recommends mortgage debt-to-income ("tasa de esfuerzo") not exceed 30-35% — direct lesson from the 2008 financial crisis. UK: typical lender affordability cap is 4-4.5× salary multiple, equivalent to ~28-32% of net income for a 25-30 year mortgage. Computing housing-cost / monthly-income × 100 produces the ratio comparable against these benchmarks.
What grading conventions translate to percentages, and what about ECTS?
United States: typical letter-grade percentages are A 90+, B 80-89, C 70-79, D 60-69, F < 60 (institution-specific; some use A 93+, A− 90-92 plus/minus split). United Kingdom: the QAA Framework for Higher Education Qualifications uses degree classifications with fixed boundaries: First Class Honours (1st) ≥ 70%, Upper Second (2:1) 60-69%, Lower Second (2:2) 50-59%, Third Class (3rd) 40-49%, Pass ≥ 40%; institution-specific borderline rules typically allow ±1-2% discretionary upgrade. Important: the European ECTS framework (per the ECTS Users' Guide 2015, European Commission) is institution-specific NOT percentage-based — the legacy ECTS percentile model (A = top 10% of passing students, B = next 25%, C = next 30%, D = next 25%, E = final 10%; F/FX = fail) was replaced by Grade Distribution Tables that each institution publishes. So translating an Erasmus exchange grade to a UK percentage requires the host institution's distribution table, NOT a fixed percentage conversion.
What are the edge cases — division by zero and negative inputs?
Y = 0 is mathematically undefined: division by zero is the canonical undefined operation in real-number arithmetic, and any percentage of zero is meaningless ("5 is what % of 0?" has no answer — there's no whole to take a fraction of). The calculator surfaces a friendly message rather than NaN or Infinity. Negative inputs: produce signed results that are mathematically valid (−5 is what % of 10? = −50%, meaning 5 below zero is half-the-magnitude-below of the reference 10) but typically counter-intuitive for everyday questions where users expect positive results. The page does not block negative inputs — the user may want to compute a signed deviation from a reference (e.g., budget actual −€500 against budget €5,000 → −10% under-spend). Conventional rounding to two decimals matches monetary precision; for high-precision finance use, the underlying JavaScript number type provides ~15-17 significant decimal digits via IEEE-754 double-precision.
Sources (6)
- International Organization for Standardization (2022). ISO 80000-1:2022 — Quantities and units, Part 1: General; defines the percent symbol % as a dimensionless ratio of the same kind (1 % = 0.01); the (X / Y) × 100 formula computes a part-of-whole ratio expressed as a percentage. ISO Technical Committee 12 (TC 12) Quantities and units; supersedes ISO 80000-1:2009 + ISO 31-0.
- CFA Institute (2024). CFA Program Curriculum Level I Volume 1 — Quantitative Methods — Chapter on "Rates and Returns" defines part-of-whole percentage as ratio × 100; standard methodology for portfolio weights, expense ratios, completion percentages, and conversion-rate metrics. CFA Institute Investment Foundations + CFA Program Curriculum Level I (2024 edition).
- United States Congress (Brooke Amendment, Public Law 91-152) (1969). Brooke Amendment to the Housing Act of 1937 (passed 24 December 1969) — Senator Edward Brooke, Massachusetts; capped public housing tenant rent at 25% of adjusted income; threshold raised to 30% by the Omnibus Budget Reconciliation Act of 1981; basis for the modern "30% rule" applied across HUD programs including the Housing Choice Voucher (Section 8) program established by the Housing and Community Development Act of 1974. Public Law 91-152 (Housing and Urban Development Act of 1969); 30% threshold introduced by P.L. 97-35 § 322 (Omnibus Budget Reconciliation Act 1981); foundational for HUD affordability standards.
- Banco de España (2024). Macroprudential supervisory guidance on residential mortgage debt-to-income ("tasa de esfuerzo") — recommends total household debt service not exceed 30-35% of net monthly income; reflects post-2008 financial-crisis lessons documented in successive Financial Stability Reports; banks operationally apply the 30-35% threshold while underwriting (not a formal Circular). Banco de España, Financial Stability Report (most recent: Autumn 2025); aligned with European Systemic Risk Board (ESRB) macroprudential recommendations.
- UK Quality Assurance Agency for Higher Education (QAA) (2024). UK Frameworks for Higher Education Qualifications (FHEQ-FQHEIS) — standard undergraduate degree classification boundaries: First Class Honours (1st) ≥ 70%, Upper Second (2:1) 60-69%, Lower Second (2:2) 50-59%, Third Class (3rd) 40-49%, Pass / ordinary degree ≥ 40% (no honours); institution-specific borderline rules typically allow ±1-2% discretionary upgrade. Contrasts with the European ECTS framework: the legacy ECTS percentile model (top 10%/25%/30%/25%/10% across A-E) was replaced by the 2015 ECTS Users' Guide with institution-specific Grade Distribution Tables — translating Erasmus grades requires the host institution's table, not a fixed percentage conversion. UK QAA — Quality Assurance Agency for Higher Education, current FHEQ + FQHEIS frameworks; ECTS Users' Guide 2015 (European Commission, Directorate-General for Education and Culture); standard adopted across virtually all English, Welsh, Scottish universities.
- World Wide Web Consortium (W3C) (2018). Web Content Accessibility Guidelines (WCAG) 2.1 — Success Criterion 4.1.3 Status Messages. W3C Recommendation 5 June 2018; carried unchanged into WCAG 2.2 (Recommendation 5 October 2023).
These are the original publications the formulas in this tool are based on. Locate them by journal name and year on Google Scholar or PubMed.