ΣCALCULATORWizard

⚖️ Ratio Calculator

Simplify ratios, solve proportions, find percentages, scale values, and compare ratios — all with full step-by-step solutions.

Enter any ratio to reduce it to simplest form using GCD
:
Supports decimals — e.g. 1.5 : 2.25 simplifies to 2:3
Enter three values — leave the unknown blank (or type ? to mark it)
a
:
b
=
c — unknown
:
d
The highlighted field will be solved via cross-multiplication. Leave only one blank.
Calculates fraction, percentage, and simplified part-to-whole ratio
:
Multiply each part by this number — use decimals for fractions (0.5 = half)
:
:
Uses cross-multiplication to determine which ratio is larger
Simplified Ratio
2 : 3
📐 Step-by-Step Solution
📋 Details

What Is a Ratio and Why Does It Matter?

A ratio is a comparison of two or more quantities that expresses how much of one thing there is relative to another. Written as a : b (spoken "a to b"), ratios appear in virtually every field: cooking uses ingredient ratios, finance uses debt-to-equity ratios, engineering uses gear ratios, chemistry uses mixture ratios, and art uses aspect ratios. Understanding how to work with ratios — simplify them, solve for unknowns, scale them up or down, and compare them — is a foundational quantitative skill that pays dividends far beyond mathematics class.

Ratios differ from fractions in a subtle but important way. The fraction 2/5 says "2 out of 5 total parts." The ratio 2:3 says "2 parts of A for every 3 parts of B" — which represents 5 total parts but focuses on the relationship between the parts rather than one part's share of the whole. A ratio can also extend to three or more terms (2:3:5) describing three quantities simultaneously, something fractions cannot naturally express.

The Five Modes Explained

Mode 1: Simplify

Simplifying a ratio means reducing it to its lowest terms so both parts share no common factor greater than 1. The algorithm finds the Greatest Common Divisor (GCD) using the Euclidean method, then divides both parts by it.

GCD(a, b) → Simplified = (a ÷ GCD) : (b ÷ GCD)
Example: Simplify 24 : 36

GCD(24, 36) = 12  |  24 ÷ 12 = 2  |  36 ÷ 12 = 3  |  Simplified: 2 : 3

This calculator also handles decimal inputs. For 1.5 : 2.25, it multiplies both by 100 (converting to 150 : 225), finds GCD(150, 225) = 75, and returns 2 : 3. This makes it useful for real-world measurements that don't naturally come as whole numbers.

Mode 2: Solve Proportion (Find Missing Value)

A proportion states two ratios are equal: a : b = c : d. Given any three values, the fourth can be found using the means-extremes property, more commonly known as cross-multiplication.

a : b = c : d  ⇒  a × d = b × c

Rearranging for each possible unknown: if c is unknown, c = (a × d) / b. This is the fundamental tool for solving word problems like "if 3 workers complete a job in 5 days, how many days do 7 workers take?" or scaling ingredient quantities.

Example: Solve 5 : 8 = x : 24

Cross multiply: 5 × 24 = 8 × x  ⇒  120 = 8x  ⇒  x = 15.   Check: 5/8 = 15/24 = 0.625 ✓

Mode 3: Part-to-Whole

This mode converts a part-and-whole pair into the three most useful representations: simplified ratio, fraction, and percentage. It answers questions like "3 students failed out of 8 total — what fraction is that, and what percentage?"

Fraction = Part / Whole    Percentage = (Part / Whole) × 100
Example: 3 out of 8

Fraction: 3/8  |  Decimal: 0.375  |  Percentage: 37.5%  |  Ratio: 3 : 8 (already simplified)

Mode 4: Scale

Scaling multiplies both parts of a ratio by the same factor, producing an equivalent ratio at a different magnitude. A scale factor greater than 1 enlarges; less than 1 (a decimal) reduces. The proportional relationship is preserved regardless of scale — 2 : 3 scaled by 5 becomes 10 : 15, which simplifies back to 2 : 3.

New Ratio = (a × factor) : (b × factor)
Example: Triple a recipe with a 2 : 5 flour-to-water ratio

Factor = 3  |  New ratio = (2×3) : (5×3) = 6 : 15  |  Simplifies to 2 : 5 (same proportions, tripled amounts)

Mode 5: Compare

Comparing two ratios determines which is larger — or whether they're equal. This calculator uses two parallel methods for maximum clarity. The cross-multiplication method avoids floating-point imprecision for exact integer ratios, while the decimal conversion method gives an intuitive sense of magnitude difference.

Compare a:b vs c:d → if a×d > b×c then a:b > c:d
Example: Compare 5 : 8 vs 3 : 4

Cross products: 5×4 = 20  vs  3×8 = 24  |  20 < 24  ⇒  5:8 < 3:4  |  Decimals: 0.625 < 0.75 ✓

Real-World Ratio Applications

ContextExample RatioWhat It Means
Cooking1 : 2 (rice : water)1 cup rice needs 2 cups water
Map Scale1 : 25,0001 cm on map = 250 m in reality
Finance3 : 1 (debt : equity)$3 owed for every $1 owned
Aspect Ratio16 : 9Screen width is 16/9 ≈ 1.78× its height
Gear Ratio2 : 5Input turns twice for every 5 output turns
Bleach dilution1 : 101 part bleach per 10 parts water (≈ 9%)
Scale model1 : 48Model is 1/48th of real object size
Probability odds7 : 37 chances of success, 3 of failure (70%)
Mortar mix1 : 3 (cement : sand)1 part cement to every 3 parts sand
Photography3 : 2Classic 35mm frame — 6×4 inch print

The GCD Algorithm: How Simplification Actually Works

The Euclidean algorithm is one of the oldest and most elegant algorithms in mathematics, attributed to Euclid around 300 BCE. It finds the greatest common divisor of two integers efficiently by repeatedly applying the division remainder until a remainder of zero is reached. The last non-zero remainder is the GCD.

GCD(48, 18):   48 = 2×18 + 12  →  GCD(18, 12)  →  18 = 1×12 + 6  →  GCD(12, 6)  →  12 = 2×6 + 0  →  GCD = 6

So 48 : 18 simplifies to (48÷6) : (18÷6) = 8 : 3. The algorithm runs in O(log min(a,b)) time, making it extremely fast even for very large numbers. For decimal inputs, the calculator first multiplies both values by a power of 10 sufficient to make them integers, applies integer GCD, then divides back down — handling cases like 0.4 : 0.6 → 2 : 3 correctly.

Ratios vs Fractions vs Percentages: Knowing When to Use Each

These three representations are closely related but serve different communicative purposes. A ratio (2 : 3) emphasizes the relationship between two distinct quantities — it's the natural language for mixing, comparing, and scaling. A fraction (2/5) places one quantity in the context of a total and is ideal for part-of-whole thinking: two slices out of five. A percentage (40%) is a fraction scaled to base-100, universally intuitive for comparisons and communication.

Converting between them is straightforward: ratio a : b → fraction a/(a+b) for part-to-total, or a/b for part-to-part as a fraction. Multiply by 100 for percentage. The Part-to-Whole mode performs these conversions automatically, and the Simplify mode expresses the a/b form's decimal equivalent alongside the simplified ratio.

Frequently Asked Questions

How do I simplify a ratio with decimals like 1.5 : 2.5?
Multiply both values by 10 to get whole numbers: 15 : 25. Find GCD(15, 25) = 5. Divide both: 15÷5 : 25÷5 = 3 : 5. This calculator does this automatically for any decimal inputs.
What is cross-multiplication and why does it work?
If a/b = c/d (same as a:b = c:d), then multiplying both sides by b×d gives a×d = b×c. This works because you're performing the same operation on both sides of a true equation. It's the most reliable method to solve proportions or compare fractions without converting to a common denominator.
Can a ratio have more than two terms?
Yes. A three-way ratio like 2:3:5 means for every 2 of A, there are 3 of B and 5 of C — 10 total parts. To find each part's share: A = 2/10 = 20%, B = 30%, C = 50%. This calculator handles two-term ratios; for three-term ratios, apply the Part-to-Whole mode to each term against the total sum.
What's the difference between 2:3 and 3:2?
Order matters. 2:3 means A is smaller (A/B = 0.667). 3:2 means A is larger (A/B = 1.5). In recipes, "flour : water = 2:3" is very different from "flour : water = 3:2" — one makes a batter, the other a dough. Always confirm which quantity is A and which is B before calculating.
How do I scale a recipe using ratios?
Determine the scale factor: desired servings ÷ original servings. Use Scale mode with the original ingredient ratio and that factor. If a recipe for 4 uses 2:3 flour-to-milk and you need to serve 10, the factor is 10/4 = 2.5. Result: 5:7.5 (multiply all ingredients by 2.5).
Are 4:6 and 2:3 the same ratio?
Yes — they are equivalent ratios. Both simplify to 2:3 by dividing by GCD = 2. Equivalent ratios describe the same proportional relationship at different scales, just as 50% and 1/2 and 0.5 all express the same value differently.
What is the golden ratio and why is it special?
The golden ratio is approximately 1:1.618 (or exactly (1+√5)/2 ≈ 1.6180339...). It appears throughout nature (spiral patterns in shells, leaf arrangements, flower petals) and has been used deliberately in architecture and art for millennia. A rectangle with golden ratio proportions is considered aesthetically optimal. It's also the limit of consecutive Fibonacci numbers: 1/1, 2/1, 3/2, 5/3, 8/5, 13/8 — each ratio getting closer to 1.618...
How do I convert odds to probability?
Odds of 7:3 means 7 successes for every 3 failures out of 10 trials. Probability = 7/(7+3) = 7/10 = 70%. Conversely, probability 0.7 = odds 70:30 = 7:3. The Part-to-Whole mode handles this: enter 7 as part and 10 as whole to get all representations.
What does a 1:1 ratio mean?
Equal amounts of both parts. A 1:1 bleach-to-water solution is 50% bleach (quite strong). A 1:1 aspect ratio is a square. In photography, 1:1 macro means the subject is reproduced at life size on the sensor. It's also called "parity," "fifty-fifty," or "equal split."