Free Ratio Calculator — Simplify · Equivalent · Scale
Three operations on ratios. Simplify any A:B to its simplest form. Find an equivalent value (A:B ↔ X:?). Or split a total in a given ratio. GCD-based simplification with full step-by-step working.
- Instant result
- Private — nothing saved
- Works on any device
- AI insight included
Ratio Calculator
You might also need
What This Calculator Does
A ratio is a way of comparing two quantities — how much of one thing there is relative to another. Written as A:B, it tells you that for every A units of the first thing, there are B units of the second. Ratios are everywhere: cooking recipes (2 cups flour to 3 cups water), business partnerships (a 60:40 equity split), map scales (1:50,000), aspect ratios (16:9 widescreen), gear teeth, mixing ratios for paint, and inheritance shares. Whenever two related quantities need to stay in proportion as either of them changes, you are doing ratio math.
This calculator covers the three operations that make up almost all real-world ratio work. It can simplify any ratio to its smallest whole-number form (12:18 → 2:3), find an equivalent ratio when one side is scaled up or down (2:3 with target 10 → 10:15), and split a total amount in a given ratio (split $300 in 2:3 → $120 and $180). Behind the scenes it uses the Euclidean algorithm to compute the greatest common divisor — the same 2,300-year-old procedure Euclid wrote down in his Elements, still the fastest way to reduce a ratio that’s ever been found.
The Three Modes Explained
Picking the right mode is half the work. Each one solves a different real-world question, and using the wrong one is the most common ratio mistake we see.
Simplify mode — find the smallest whole-number form
You give the calculator two numbers, A and B, and it returns the same ratio in its lowest terms. 12:18 becomes 2:3. 100:25 becomes 4:1. Use this when you have raw measurements and want a clean, canonical form for documentation, communication, or comparison. Two ratios are equal if and only if they reduce to the same simplified form, so simplification is also the easiest way to check whether two ratios are actually the same.
Equivalent mode — find Y when X is given
You know a ratio A:B, and you have a new value for the A-side called target. The calculator finds the matching value on the B-side that keeps the proportion intact. This is recipe scaling: a recipe says 2 cups flour to 3 cups water, you want to use 10 cups of flour, how much water? The math is target × B / A — in this case 10 × 3 / 2 = 15 cups. The same logic powers map distances, currency conversion, scaled drawings, and any cross-multiplication problem.
Scale mode — split a total in a ratio
You give the calculator a ratio A:B and a total, and it splits the total into two pieces in that ratio. Split $300 in 2:3? The pieces are A = 300 × 2/(2+3) = $120 and B = 300 × 3/(2+3) = $180. This is the bill-splitting / partnership-share / inheritance mode, and it generalizes immediately: each piece’s share equals its weight divided by the sum of the weights, multiplied by the total.
The Greatest Common Divisor (GCD) and Euclidean Algorithm
Simplifying a ratio means dividing both sides by the largest number that divides both of them evenly. That number is the greatest common divisor — sometimes called the highest common factor. For 12:18, the divisors of 12 are {1,2,3,4,6,12} and the divisors of 18 are {1,2,3,6,9,18}. The largest one shared by both sets is 6, so GCD(12,18) = 6 and the simplified ratio is 12/6 : 18/6 = 2:3.
Listing divisors works for small numbers but falls apart as soon as you have, say, GCD(2,310, 1,365). Euclid’s algorithm — written down around 300 BCE — solves the problem in a handful of steps no matter how large the numbers are. The trick is a single observation: GCD(a, b) = GCD(b, a mod b). Replace the larger number with the remainder when you divide it by the smaller, repeat until the remainder is 0, and the last non-zero number is your GCD.
Five steps for a problem that would take dozens of divisor lookups by hand. The algorithm is so efficient that it underpins modern cryptography (RSA key generation leans on a close cousin called the extended Euclidean algorithm), computer-algebra systems, and — yes — this little ratio calculator. Every “Simplify” result you see was produced by exactly this loop running on your inputs.
How to Use This Calculator
- Pick a mode — Simplify, Equivalent, or Scale. The form fields adjust automatically; only the inputs that mode actually needs are shown.
- Enter A and B — the two sides of your ratio. They must be positive whole numbers. If your raw values are decimals (like 1.5:2.25), multiply both sides by the smallest power of 10 that clears the decimals (here ×100 → 150:225) and the calculator will simplify from there.
- For Equivalent mode, enter the target value — the new number on the A-side. The calculator returns the matching B-side.
- For Scale mode, enter the total — the amount to be split. The calculator returns the two pieces and their decimal share, and you can verify they add back to your total.
- Read the decimal value shown alongside the simplified form. Ratios and decimals are two views of the same number — A:B is just another way of writing the fraction A/B, so 2:3 = 0.667 and 16:9 ≈ 1.778. The decimal is what most computers and calculators want internally.
Three Worked Examples
Three concrete scenarios, one per mode. Try plugging them into the calculator above to confirm the numbers — they make the abstract rules above feel mechanical.
Example 1 — Simplify: 12:18
You measured a recipe at 12 grams of salt to 18 grams of sugar and want the cleanest way to write that down. Run Simplify mode with A = 12, B = 18.
- Compute GCD(12, 18). 18 mod 12 = 6; 12 mod 6 = 0; so GCD = 6.
- Divide both sides: 12 / 6 = 2 and 18 / 6 = 3.
- Simplified ratio: 2:3.
- Decimal: 2 / 3 ≈ 0.667.
That single result tells you a lot. Any time a recipe calls for the same ratio of salt to sugar — whether 2g:3g, 20g:30g, or 200g:300g — it’s the same blend. Simplification is what makes those equivalences obvious. For more on the underlying fraction-form math, the fraction calculator handles the addition, subtraction, and multiplication side of the same idea.
Example 2 — Equivalent: 2:3 with target 10
Your simplified recipe is 2:3 (salt:sugar). For a bigger batch you want to use 10 grams of salt. How much sugar keeps the flavor identical? Run Equivalent mode with A = 2, B = 3, target = 10.
- The unknown side is target × B / A = 10 × 3 / 2.
- 10 × 3 = 30. 30 / 2 = 15.
- Equivalent ratio: 2:3 = 10:15.
Sanity check by re-simplifying 10:15. GCD(10, 15) = 5; 10/5 : 15/5 = 2:3. Same ratio, just larger numbers — exactly what scaling a recipe should do. The same operation powers map distances (“1 cm on the map represents 50,000 cm on the ground; my route is 7 cm, how far is that in real life?”), currency conversion, and unit scaling. If you’re thinking in “parts per hundred” rather than parts per other-thing, the percentage calculator is the special case where the second side is fixed at 100.
Example 3 — Scale: split $300 in 2:3
Two business partners, Asad and Bilal, contributed unequally to a venture. Their agreed profit-share ratio is 2:3. The venture pays out $300. How much does each partner take home? Run Scale mode with A = 2, B = 3, total = 300.
- Total parts in the ratio: 2 + 3 = 5.
- Asad’s share: 300 × 2 / 5 = 600 / 5 = $120.
- Bilal’s share: 300 × 3 / 5 = 900 / 5 = $180.
- Verify: 120 + 180 = $300. ✓
Same arithmetic powers inheritance shares (Islamic and civil-law traditions both commonly express bequests in ratios), legal damages allocation, restaurant bill splits when not everyone ate equally, and dividend distribution among shareholders. The single rule is: each piece’s dollar value equals its weight in the ratio, divided by the sum of all weights, times the total being split.
Ratio vs Fraction vs Percentage
The three concepts are mathematically interchangeable but emphasize different things — getting fluent in switching between them is one of the most useful arithmetic skills.
- A ratiocompares two things directly. 2:3 means “for every 2 of the first, there are 3 of the second.” Both quantities are visible.
- A fractiontakes the same comparison and turns it into a single number — the share of one thing relative to a part or to the whole. 2:3 as a fraction-of-the-whole is 2/(2+3) = 2/5 (40%) for the first piece and 3/5 (60%) for the second. As a fraction-of-each-other it’s simply 2/3.
- A percentageis just a fraction whose denominator is fixed at 100. 2:3 → 2/5 = 40% for the first share. The fixed denominator is what makes percentages easy to compare at a glance — you can rank percentages directly, but two ratios with different totals can’t be eyeballed.
The right one to use depends on the question. Recipes and gear ratios stay as ratios. Inheritance shares get expressed as fractions (“one-fifth of the estate”). Tax rates, exam scores, and discount offers reach for percentages — see the discount calculator for the standard percentage-off pattern.
Common Mistakes
- Confusing “part to part” with “part to whole.” A 2:3 ratio means there are 5 total parts, not 3. So “2:3 of $300” is $120 + $180, not $200. The most-common miscalculation in inheritance and partnership splits — students who default to thinking 2:3 means “2 out of 3” will give one party $200 and the other $100 instead of the correct $120/$180.
- Adding ratios instead of recombining them.1:2 plus 1:3 is not 2:5. Ratios don’t add unless you first convert them to fractions of the same whole (1/3 + 1/4 = 7/12). If two paint mixtures are 1:2 and 1:3 and you combine equal volumes, the result’s ratio depends on the volumes mixed — not on the ratios themselves.
- Forgetting to simplify before comparing.Are 12:18 and 14:21 the same? Eyeballing says “maybe.” Simplifying says yes — both reduce to 2:3. Always simplify before deciding two ratios are different.
- Mixing up the order of A and B. Salt:sugar = 2:3 is not the same as sugar:salt = 2:3 — the second one means three times as much salt, not two-thirds as much. Always label which side is which when writing a ratio down, especially in recipes and chemistry.
- Using ratios with incompatible units. A ratio of 2 meters to 3 feet is nonsense unless one side is converted first. Convert both sides to the same unit before simplifying, or — even better — use unitless ratios where possible.
- Treating a ratio like a single number.2:3 is two pieces of information, not one. You can’t add 1 to a ratio meaningfully — you have to decide whether the 1 goes on the A-side, the B-side, or somehow both. Most ratio word-problem errors come from collapsing the two sides into one number too early.
- Rounding intermediate values. If you simplify 7:11 to a decimal (≈0.636) and then scale, small errors compound. Keep ratios in integer form as long as possible and round only the final answer.
When This Calculator Decides For You
Like most math tools, the calculator’s output usually maps to a real choice rather than a homework problem. The four most common ones:
- Recipe scaling. You have a recipe for 4 people and 12 are coming. Run Equivalent mode with each ingredient and target = 12 / 4 × original quantity. Far fewer arithmetic mistakes than scaling each ingredient by hand, and the calculator keeps the fractions exact.
- Partnership and inheritance splits. Anyone splitting a sum in a predetermined ratio — equity payouts, royalty distributions, sibling inheritance, freelancer-and-agent commissions — should run Scale mode with the agreed ratio and the actual amount. The verification step (pieces sum back to total) catches arithmetic errors before the money moves.
- Mixing chemicals, paints, fertilizers, or cocktails. The bottle says 1:5 dilution; you have 2 cups of concentrate; how much water? Equivalent mode with A = 1, B = 5, target = 2 → answer: 10 cups water. Same procedure for fertilizer mixes and gardening — wrong dilution can scorch plants.
- Comparing seemingly different rates. Two grocery items: one is $4 for 12 oz, another is $6 for 18 oz. Are they the same price per ounce? Simplify 12:4 vs 18:6 → both reduce to 3:1 oz/dollar. Identical unit price, despite the different sticker price. Simplification turns “is A or B a better deal” into a one-second comparison.
Pair this calculator with the percentage calculator when you want the share-of-whole view, and the GPA calculator when you’re combining weighted ratios across multiple items (a GPA is essentially a credit-weighted ratio of grade points to credit hours).
The Golden Ratio and Other Famous Ratios
Some ratios show up so often across nature, design, and engineering that they’ve earned their own names. The most famous is the golden ratio, denoted φ (phi) ≈ 1.618. It’s the unique ratio where dividing a line so the longer part is to the whole as the shorter part is to the longer — i.e., a:b = b:(a+b) — gives the same value. Architects from the Parthenon onward, Renaissance painters, and modern UI designers have all used φ to lay out pleasing proportions.
Other ratios you encounter constantly:
- 16:9 — the aspect ratio of nearly every modern screen, monitor, and streaming video. Decimal value 1.778. Replaced the older 4:3 standard around 2010 and almost no media is produced in anything else today.
- 3:2 — classic 35mm photographic film, still common on DSLR sensors and Apple/iPhone print sizes.
- √2 (≈ 1:1.414) — the ISO paper-size ratio used by A4, A3, A2 and their cousins. The ratio is preserved when you fold the paper in half, which is why A5 has the same proportions as A4.
- π ≈ 3.14159…— the ratio of any circle’s circumference to its diameter. Irrational, so it can’t be expressed exactly as a ratio of two whole numbers — but every approximation (22:7, 355:113) is a ratio in disguise.
- e ≈ 2.71828…— Euler’s number, the base of natural logarithms, arises in continuous compounding and exponential growth. Like π, it’s irrational but can be approximated by ratios as closely as needed.
The fact that any irrational number can be approximated arbitrarily well by simple ratios — a result called continued-fraction expansion— is one of the deeper ideas in number theory, and it’s why ratios remain relevant even when the underlying physical quantity isn’t a clean fraction.
Sources & Methodology
The formulas, thresholds, and benchmarks behind this calculator are anchored to the primary sources below. Where a study or agency document is the underlying authority, we link straight to it — not a summary or republished version.
- NIST DLMF — Elementary Functions and Ratios· National Institute of Standards and Technology
Authoritative federal reference for ratio arithmetic, proportional reasoning, and cross-multiplication identities.
Accessed
- BIPM SI Brochure — Quantities Expressed as Ratios· Bureau International des Poids et Mesures
International standards body's definition of dimensionless ratios and proportional quantities used in the calculator.
Accessed
- Britannica — Ratio (Mathematics)· Encyclopaedia Britannica
Encyclopedia entry defining ratio, proportion, and the cross-multiplication identity at the core of the calculator's logic.
Accessed
- MIT OpenCourseWare — Proportional Reasoning· Massachusetts Institute of Technology
Open course materials on proportional reasoning, ratio scaling, and equivalent-ratio computation.
Accessed
- ISO 80000-1 — Quantities and Units: General· International Organization for Standardization
International standard governing dimensionless ratio quantities and the formal arithmetic used to scale, simplify, and compare ratios.
Accessed
Frequently Asked Questions
The most common questions we get about this calculator — each answer is kept under 60 words so you can scan.
What is the simplest form of a ratio?
Both numbers divided by their greatest common divisor (GCD). 12:18 simplifies to 2:3 because GCD(12,18) = 6. The calculator computes GCD via the Euclidean algorithm and applies it automatically. A ratio is in simplest form when the two numbers share no common factor greater than 1 (i.e. they are coprime).How do I find an equivalent ratio?
Multiply or divide both parts by the same number. 2:3 = 4:6 = 6:9 = 200:300 — all equivalent. The Equivalent mode solves for the missing value: 'I have ratio 2:3 and X = 10, what's Y?' Answer: 10/2 × 3 = 15. So 2:3 = 10:15. Useful for recipe scaling, map-distance math, and chemical-mixture proportions.What's the difference between a ratio and a fraction?
Mechanically the same; conceptually different. 3:4 ratio describes a part-to-part relationship (e.g. 3 boys to 4 girls). 3/4 fraction describes a part-to-whole relationship (e.g. 3 of 4 slices). You can convert: 3:4 ratio means 3/(3+4) = 3/7 of the total is part A, and 4/7 is part B. The calculator's 'Percentage form' detail row shows this.How do I split a total in a given ratio?
Use Scale mode. Total × (A / (A+B)) = part A; Total × (B / (A+B)) = part B. Splitting $100 in 3:7 → A gets $30, B gets $70. The calculator simplifies the ratio first then splits, which avoids floating-point drift on awkward inputs. Used for splitting bills, dividing inheritance, allocating budget across departments.Can ratio inputs be decimals?
Not in this calculator — ratios are integer-based. 3.5:4.2 isn't really a ratio in the mathematical sense; it's a decimal proportion. To handle decimal ratios, multiply both sides by the same factor to clear decimals (3.5:4.2 = 35:42 after × 10), then simplify (35:42 = 5:6 after dividing by GCD 7). The calculator can simplify the integer version once you've cleared the decimals.What's the Euclidean algorithm?
The classical algorithm for finding GCD. GCD(a, b) = GCD(b, a mod b), terminating when b = 0. Example: GCD(48, 18) → GCD(18, 12) → GCD(12, 6) → GCD(6, 0) = 6. Faster than factoring large numbers; the calculator uses it under the hood for instant simplification of even billion-scale inputs.Are ratios commutative?
Position-wise no, value-wise sometimes. 3:4 ≠ 4:3 — order conveys meaning (boys-to-girls vs girls-to-boys). But mathematically the simplification works either way: 3:4 simplifies to 3:4; 4:3 simplifies to 4:3. They're different ratios that represent inverse relationships. The calculator preserves order — A and B stay in input order through the result.How do I convert a ratio to a percentage?
Convert each part to a fraction of the total, then × 100. For 3:4 ratio: A = 3/(3+4) × 100 = 42.86%, B = 4/(3+4) × 100 = 57.14%. The calculator's 'Percentage form' detail row shows this. Useful for pie-chart prep, market-share visualization, and budget-allocation reports.What's a 'golden ratio'?
Approximately 1.618:1 (or 1:0.618), denoted φ (phi). It's the unique ratio where A:B = (A+B):A. Found in classical architecture, Fibonacci sequences, and many natural patterns. The calculator can verify it: enter 1618:1000 and simplify (it doesn't reduce because they're nearly coprime, decimal ≈ 1.618). The actual irrational golden ratio cannot be expressed exactly as integer ratio.Can I scale a recipe with this?
Yes — Equivalent mode is perfect for recipe scaling. Recipe calls for 2:1 flour-to-sugar (200g:100g) and you have only 350g flour. Equivalent: 2:1 with target 350 → answer 175g sugar. The calculator does this in one step. Works for any 2-ingredient ratio; for 3+ ingredient recipes, run the calculator per ingredient pair.What's the difference between odds and ratio?
Different conventions. 'Odds 3:1' typically means 3-to-1 against (probability 1/4 of winning). A 3:1 ratio in math just means three parts to one part — a probability of 3/(3+1) = 75% if it's a part-to-whole framing, or none of the above if it's pure-ratio. Sports betting, probability, and pure math each use ratio notation slightly differently — context matters.Can I use very large numbers?
Yes — the calculator handles ratios up to 1,000,000:1,000,000. The Euclidean algorithm runs in O(log(min(a,b))) time, so even billion-scale inputs simplify in microseconds. For arbitrary-precision math (10⁹ × 10⁹), JavaScript's float precision becomes an issue around 2⁵³; the calculator's 1M cap stays safely below that ceiling.