What is a ratio? What is a percentage?
A ratio compares two or more quantities by showing how many times one contains the other. It is written with a colon — 3:2, read as "three to two" — or as a fraction 3/2, or with the word "to". A ratio carries no units because it is a pure comparison.
A percentage is a ratio whose second term is always 100. The word comes from Latin per centum, "by the hundred". 75% means 75 out of every 100, which is the fraction 75/100, the decimal 0.75, and the ratio 3:4 in simplest form. The percent sign is shorthand for "÷ 100".
Because a percentage is just a ratio against 100, converting between them is a matter of arithmetic — but only once you have decided which kind of ratio you are holding. That decision is the source of almost every mistake in this topic, and it is the one this calculator makes explicit.
Part-to-part vs part-to-whole — the distinction that matters
This is the single most important idea on this page. A ratio like 3:2 can be read two different ways, and they give different percentages:
| Reading | Meaning | 3:2 becomes | When to use it |
|---|---|---|---|
| Part-to-part | 3 parts of A for every 2 parts of B. The whole is 3 + 2 = 5 parts. | 60% and 40% | Recipes, mixing, splitting a bill, paint ratios, survey responses between two groups. |
| Part-to-whole | 3 out of 2 — the part relative to the whole. The whole is 2. | 150% | Test scores ("45 out of 60"), discounts, completion, "what fraction of the total". |
In part-to-part mode the shares of every term add up to exactly 100%. In part-to-whole mode the result is a single percentage and can be less than 100%, exactly 100%, or more than 100% if the part is larger than the whole.
The calculator forces you to choose the interpretation before it computes anything. That single choice eliminates the most common mistake in the entire topic.
The ratio to percentage formula
Part-to-part
For a ratio a : b : c …, the total number of parts is T = a + b + c + …. The percentage of each term is:
Percentage of b = (b ÷ T) × 100 and so on.
For 3:2:5 the total is 10, so the shares are 30%, 20% and 50%. They add to 100% — the check that you used the right denominator.
Part-to-whole
For a ratio a : b read as a out of b, the percentage is:
For 3:4 the percentage is 3 ÷ 4 × 100 = 75%. The complement is 1 − 0.75 = 0.25, or 25%, and it represents the rest of the whole (b − a).
How to convert a ratio to a percentage, step by step
- Write the ratio down. For example 5:3.
- Decide the interpretation. If the ratio compares two pieces of a whole (part-to-part), add the terms to get the total. If it compares one piece to the whole (part-to-whole), the second number is the whole.
- Write the ratio as a fraction. Part-to-part 5:3 becomes 5/8 and 3/8, because 5 + 3 = 8. Part-to-whole 5:3 becomes 5/3.
- Multiply by 100. 5/8 × 100 = 62.5% and 3/8 × 100 = 37.5%. For part-to-whole, 5/3 × 100 ≈ 166.67%.
- Check. In part-to-part mode the shares must add to 100%. In part-to-whole mode the part and its complement must add to 100% of the whole.
How the drag-to-rebalance works
Every chart on this page — the donut and the stacked bar — is interactive. Each boundary between two adjacent terms has an amber handle. Drag any handle with your mouse or finger and the two adjacent terms trade value: one grows while the other shrinks, keeping their sum constant. The percentages, decimals, fractions, table, legend, step-by-step working, and the other chart all update live — and a numeric tooltip shows you the exact values as you drag.
This is the fastest way to answer questions like "if I want the paint ratio to be 55:45, what do I pull the divider to?" or "how does the split look if partner A gets half?" — no arithmetic required, just drag until it looks right, then read the exact percentage from the table.
Worked examples
Example 1 — a two-term ratio, part-to-part
A fruit drink is mixed at 2 parts concentrate to 5 parts water. The total is 7 parts. Concentrate = 2 ÷ 7 × 100 ≈ 28.57%. Water = 5 ÷ 7 × 100 ≈ 71.43%. The two add to 100%.
Example 2 — a three-term ratio
An exam is marked across three papers weighted 3:2:5. The total is 10 parts. Paper one is 30%, paper two 20%, paper three 50%. If the exam is out of 200 marks, the papers carry 60, 40 and 100 marks respectively.
Example 3 — a test score, part-to-whole
A student scores 45 out of 60. That is the part-to-whole ratio 45:60. The percentage is 45 ÷ 60 × 100 = 75%. Note the difference from part-to-part: 45:60 as a part-to-part ratio would be 45 ÷ 105 ≈ 42.86% and 60 ÷ 105 ≈ 57.14%, which is not the score.
Example 4 — splitting money
£1,200 is split between three partners in the ratio 3:2:1. There are 6 parts, so one part is £200. The shares are £600, £400 and £200, which are 50%, 33.33% and 16.67% of the total.
Example 5 — a paint mix with decimals
Paint is mixed at 1.5 parts colour to 4 parts base. The total is 5.5 parts. Colour = 1.5 ÷ 5.5 × 100 ≈ 27.27%. Base = 4 ÷ 5.5 × 100 ≈ 72.73%. The calculator accepts the decimal 1.5 directly and handles the conversion without any manual scaling.
Example 6 — the golden ratio
The golden ratio φ ≈ 1.618. Split into two parts, the longer part is about 61.8% and the shorter about 38.2% of the whole. This is why designers say the golden section divides a line into roughly 62% and 38%.
Common ratio to percentage conversions
| Ratio | Part-to-part | Part-to-whole |
|---|---|---|
| 1:1 | 50% / 50% | 100% |
| 1:2 | 33.33% / 66.67% | 50% |
| 1:3 | 25% / 75% | 33.33% |
| 1:4 | 20% / 80% | 25% |
| 1:5 | 16.67% / 83.33% | 20% |
| 2:1 | 66.67% / 33.33% | 200% |
| 2:3 | 40% / 60% | 66.67% |
| 2:5 | 28.57% / 71.43% | 40% |
| 3:1 | 75% / 25% | 300% |
| 3:2 | 60% / 40% | 150% |
| 3:4 | 42.86% / 57.14% | 75% |
| 3:5 | 37.5% / 62.5% | 60% |
| 4:1 | 80% / 20% | 400% |
| 4:5 | 44.44% / 55.56% | 80% |
| 5:3 | 62.5% / 37.5% | 166.67% |
| 7:3 | 70% / 30% | 233.33% |
| 16:9 | 64% / 36% | 177.78% |
Ratios with three or more numbers
Multi-term ratios work exactly like two-term ones: add all the terms to get the total, then divide each term by that total. The extra thing to watch is that the total is the sum of every term, not just the first two.
For 2:3:5 the total is 10, so the shares are 20%, 30% and 50%. For 1:2:3:4 the total is 10, so the shares are 10%, 20%, 30% and 40%. For 4:1:3 (a classic fruit-juice blend) the total is 8, so the shares are 50%, 12.5% and 37.5%.
The calculator supports up to eight terms, which covers the vast majority of real cases — ingredient blends, budget splits, exam weightings, survey categories, portfolio allocations.
Converting a percentage back to a ratio
Because a percentage is a ratio against 100, p% = p : 100. Then simplify by the greatest common divisor:
For a decimal percentage, first scale to integers. 12.5% → 12.5 : 100 → 125 : 1000 → divide by 125 → 1 : 8.
The reverse mode also shows the complement ratio — the ratio of "not this" to "this". For 45%, the complement is 55%, which is 55:45, simplifying to 11:9. This is the form used in odds and in "part-to-part" comparisons of two complementary groups.
Splitting a total amount by a ratio
A very common real-world task is dividing a sum of money, a quantity of material, or a set of items according to a ratio. The method is a three-step calculation:
- Add the ratio terms to find the total number of parts.
- Divide the amount by the total parts to find the value of one part.
- Multiply each term by the value of one part to get each share.
For £1,200 split 3:2:1: total parts = 6, one part = £200, shares = £600, £400, £200. The percentages are 50%, 33.33% and 16.67%.
Split mode in this calculator does both at once: it shows the amount for each share and the percentage each share represents — the exact calculation used for partnership profit splits, estate division, recipe scaling, or marketing budget allocation.
"A is what percent of B?"
The formula is simply (A ÷ B) × 100. If A is 30 and B is 50, the answer is 60%. If A is 45 and B is 60, the answer is 75% — the standard way to express a test score.
Two related values are worth knowing alongside it. The difference B − A tells you how far the part is from the whole, and the ratio A:B in simplest form gives the same proportion expressed as a part-to-part comparison. For 30 and 50 the ratio simplifies to 3:5, and the difference is 20.
Ratio, fraction, decimal, percentage — four ways to write the same thing
| Form | 3:4 example | How to convert to a percentage |
|---|---|---|
| Ratio | 3:4 | Add the terms (7), divide each by 7, multiply by 100 |
| Fraction | 3/4 | Divide, multiply by 100 → 75% |
| Decimal | 0.75 | Multiply by 100 → 75% |
| Percentage | 75% | Already done |
The table can be misleading if you forget that a ratio and a fraction are not always the same thing. The ratio 3:4 as a part-to-part ratio becomes the fractions 3/7 and 4/7, not 3/4. The fraction 3/4 is the part-to-whole reading.
Where ratio to percentage conversion is used
- Recipes and food production. A blend of 4:1:3 by weight becomes 50%, 12.5% and 37.5% — useful for scaling a batch and for nutrition labelling.
- Finance and business. Debt-to-equity, profit-to-revenue, and current-assets ratios are routinely expressed as percentages so they can be benchmarked across companies of different sizes.
- Education and assessment. Exam weightings, grade boundaries and score percentages all depend on the correct denominator. A 45:60 score is 75%, not 42.86%.
- Chemistry and medicine. Concentration ratios and dilution ratios are converted to percentages for dosing, labelling and regulatory reporting.
- Design and photography. Aspect ratios such as 16:9, 4:3 and 3:2 are converted to percentage splits when laying out grids and calculating crop areas.
- Surveys and polling. A split of 3:2 between two candidates becomes 60% / 40% of decided voters.
- Sport. Win-to-loss ratios, possession splits and shot-conversion statistics are all reported as percentages derived from ratios.
- Mixing and construction. Concrete, mortar, paint and fuel mixes are specified as ratios and converted to percentages for batch calculations.
Common mistakes
- Using the wrong denominator. The biggest error. Part-to-part ratios divide by the sum of all terms; part-to-whole ratios divide by the second term. 3:2 gives 60%/40% one way and 150% the other.
- Forgetting to add all terms. In a three-term ratio 2:3:5, the total is 10, not 5.
- Expecting part-to-whole percentages to sum to 100. Only part-to-part shares sum to 100%.
- Confusing a ratio with a fraction. 3:4 is not 3/4. As a part-to-part ratio it is 3/7 and 4/7; as part-to-whole it is 3/4.
- Rounding each share and expecting 100. 33.33% × 3 = 99.99% — a rounding artefact, not an error.
- Mixing units inside a ratio. Convert 500 g : 2 kg to 500 : 2000 before doing anything else.
- Rejecting results above 100%. In part-to-whole mode a result above 100% is valid — it just means the part is larger than the whole.
A short note on the history of ratio and percent
Ratios are among the oldest mathematical ideas. Babylonian tablets from around 1800 BCE contain ratio and proportion problems, and Euclid's Elements (c. 300 BCE) devotes Book V to a rigorous theory of proportion that remained standard for over two thousand years.
The percent sign has a commercial origin. Medieval Italian merchants wrote "per cento" so often that scribes abbreviated it to "per 100", then "p 100", then "p 0/0", and eventually to the familiar "%". The symbol was in common use in Italian arithmetic books by the 15th century and spread across Europe with trade and banking.
Privacy
Every calculation, chart drawing, conversion and export runs in your browser with plain JavaScript. Nothing you type is uploaded, logged or sent to a server. There is no account and no network request after the page loads. Recent calculations are optionally kept in your browser's localStorage so you can reload them, and clearing them removes them permanently from your device.
Limitations
- Ratios of up to eight terms are supported. Beyond that the donut becomes hard to read.
- Very long decimals are rounded to the precision you select (0–4 decimal places). The underlying calculation is not rounded — only the display is.
- Fraction display uses a best-approximation search up to a denominator of 10,000, so extremely unusual decimals may show a very close fraction rather than an exact one.
- Split mode assumes a single total amount and distributes it proportionally. It does not handle multi-currency or unit conversions.
- The donut and bar drag interactions work on pointer and touch. On keyboard, the arrow keys inside the term inputs and the focusable handles adjust values by 0.1 (Shift for 1.0, Alt for 0.01, on handles Shift for 5%, Alt for 0.1%).
Frequently asked questions
How do you convert a ratio to a percentage?
For a part-to-part ratio like 3:2, add the parts (3 + 2 = 5), then divide each part by the total and multiply by 100. The first part is 3 ÷ 5 × 100 = 60%, the second is 2 ÷ 5 × 100 = 40%. For a part-to-whole ratio like 3:4, the percentage is simply 3 ÷ 4 × 100 = 75%.
What is the difference between part-to-part and part-to-whole ratios?
A part-to-part ratio compares two pieces of a whole, so 3:2 means 3 parts of A for every 2 parts of B, and the total is 5 parts. A part-to-whole ratio compares one piece to the entire whole, so 3:4 means 3 out of 4, which is 75%.
What is 3:2 as a percentage?
As a part-to-part ratio, 3:2 gives 60% and 40%. As a part-to-whole ratio, 3:2 gives 150%.
What is 1:4 as a percentage?
As a part-to-part ratio, 1:4 gives 20% and 80%. As a part-to-whole ratio, 1:4 gives 25%.
What is 2:3 as a percentage?
As a part-to-part ratio, 2:3 gives 40% and 60%. As a part-to-whole ratio, 2:3 gives 66.67%.
How do you convert a ratio with three numbers to percentages?
Add all three terms to get the total, then divide each term by the total and multiply by 100. For 3:2:5 the total is 10, so the shares are 30%, 20% and 50%.
How do you convert a percentage to a ratio?
Write the percentage as p:100 and simplify by the greatest common divisor. For 45%, 45:100 divides by 5 to give 9:20. For 12.5%, 12.5:100 becomes 125:1000, which simplifies to 1:8.
How do you split a total amount by a ratio?
Add the ratio terms to get the total number of parts, divide the amount by that number to find the value of one part, then multiply each term by that value. For $1,200 split 3:2:1, there are 6 parts, so one part is $200 and the shares are $600, $400 and $200.
What is 1:1 as a percentage?
A 1:1 ratio is an equal split, so each part is 50%. In part-to-whole form, 1:1 means 1 out of 1, which is 100%.
What is the golden ratio as a percentage?
The golden ratio is about 1.618:1. Split into two parts, the longer part is about 61.8% of the whole and the shorter is about 38.2%.
What is 16:9 as a percentage?
As a part-to-part ratio, 16:9 gives 64% and 36%. It is not a percentage of the screen — it is the proportional split of the 25 parts.
Do percentages always add up to 100?
In part-to-part mode, yes. In part-to-whole mode, the result is a single percentage and can be anything from 0% to above 100%.
Can a ratio term be a decimal or fraction?
Yes. The calculator accepts decimal terms such as 1.5:2 and fraction terms such as 1/2:3. It converts everything to a common scale before computing.
What is 3:1 as a percentage?
As a part-to-part ratio, 3:1 gives 75% and 25%. As a part-to-whole ratio, 3:1 gives 300%.
What is 7:3 as a percentage?
As a part-to-part ratio, 7:3 gives 70% and 30%. This is a common budget or salary split.
How do I use this for a test score?
If you scored 45 out of 60, that is a part-to-whole ratio 45:60. The percentage is 45 ÷ 60 × 100 = 75%.
How do I use this for a recipe?
A recipe mixed 4:1:3 (flour:sugar:butter) has 8 parts. The percentages are 50%, 12.5% and 37.5% of the mixture by weight.
What is 2:1 as a percentage?
As a part-to-part ratio, 2:1 gives 66.67% and 33.33%. As a part-to-whole ratio, 2:1 gives 200%.
How is ratio to percentage used in finance?
Financial ratios such as debt-to-equity are expressed as percentages so they can be compared across companies of different sizes. A debt-to-equity ratio of 1:2 means debt is 50% of equity.
Is a percentage a ratio?
Yes. A percentage is a ratio with a fixed second term of 100. 75% means 75:100, which simplifies to 3:4.
Why do my percentages not add up to exactly 100?
Rounding causes tiny discrepancies. 1:2:3 gives 16.67%, 33.33% and 50.00%, which add to 100.00%. If you round each to a whole number you may get 99% or 101% — a rounding artefact, not an error.
Does the calculator work offline?
Yes. All calculations, chart drawing, conversion and export run in your browser with plain JavaScript.
Does it store my data?
Nothing is uploaded. Recent calculations are optionally kept in your browser's localStorage and can be cleared at any time.
Related tools on AIToolsPros
Sources and methodology
- Euclid, Elements, Book V — the classical theory of proportion.
- David Eugene Smith, History of Mathematics (1923) — the origin of the percent sign.
- National Numeracy (UK) — ratio and proportion in the adult numeracy curriculum.
- Common Core State Standards for Mathematics, Grade 6 — 6.RP.A.1–3.
- NIST — Unit Conversion — reference for unit-consistency rules.