A∶B Ratio Calculator

Simplify a ratio to lowest terms, solve for an unknown term in a proportion, or scale a ratio to a new total or target value — with full step-by-step work.

A∶B Simplify a Ratio
: :
Decimals are allowed (e.g. 2.5 : 5). Leave the third term blank for a two-term ratio.
Simplified Ratio
Lowest Terms
Decimal (A ÷ B)
Percentage Split
GCD Used
A∶B

Enter a ratio to reduce it to lowest whole-number terms

A∶B Solve for X (Proportions)
: = :
Solved Value
Unknown Term
A∶B

Choose the unknown term, enter the other three, and solve the proportion

A∶B Scale a Ratio
: :
Leave the third term blank for a two-term ratio.
Scaled Ratio
New Ratio
Scale Factor
New Total
A∶B

Enter a base ratio and a target to scale every term proportionally

Guide

About the Ratio Calculator

Last updated: July 2026 · Reviewed by the NeftCal editorial team

This free ratio calculator simplifies any ratio to its lowest whole-number terms, solves for an unknown term in a proportion using cross-multiplication, and scales a ratio up or down to a target total or target term value — all with full step-by-step working shown. A ratio compares two or more quantities of the same kind, such as 2 cups of flour to 3 cups of sugar, and understanding how to reduce, solve, and scale ratios is essential in cooking, construction, finance, and standardized test prep. This ratio calculator with steps supports two-term and three-term ratios, decimal inputs, and shows the exact GCD or scale factor behind every answer.

What This Ratio Calculator Calculates

Three tools in one: Simplify a Ratio reduces any 2- or 3-term ratio to lowest terms and shows its decimal equivalent, percentage split, and GCD; Solve for X (Proportions) finds any missing term in A:B = C:X using cross-multiplication; and Scale a Ratio multiplies every term by a factor so the ratio hits a target total or a target value for one specific term.

Who Should Use This Calculator

Students learning proportional reasoning, teachers building practice problems, home cooks and professional bakers scaling recipes, tradespeople mixing concrete or chemical solutions to the correct proportions, photographers and video editors preserving aspect ratios, and finance students comparing ratios like debt-to-equity all benefit from a fast, verified ratio calculation.

Why Ratios Matter

Ratios let you compare quantities independent of scale — a 2:3 flour-to-sugar ratio works whether you're baking one cookie or a thousand. Proportional reasoning (recognizing that two ratios are equal) underlies unit conversion, map reading, recipe scaling, and financial analysis. Getting the order and scale factor right avoids costly mistakes, from a botched recipe to a miscalculated concrete mix.

Real-World Applications

Bakers and chefs scale recipes for different serving sizes. Contractors mix cement:sand:gravel ratios for concrete batches. Cartographers and hikers convert map-scale ratios (like 1:50,000) into real-world distances. Photographers and screen designers preserve width:height aspect ratios when resizing. Analysts compare financial ratios such as price-to-earnings or debt-to-equity in simplified form.

Tips for Accurate Results

  • Always keep the same order of quantities on both sides of a proportion (e.g. flour:sugar = flour:sugar, never flour:sugar = sugar:flour).
  • Use the Simplify tool first to check a ratio is in lowest terms before comparing it with another ratio.
  • When scaling, double-check whether you know the desired total or just one term's target value, and pick the matching scale mode.
  • For ratios with decimals, let the calculator's automatic power-of-10 scaling handle the conversion to whole numbers.
Formula

The Ratio Formulas, Explained

How this ratio calculator simplifies, solves, and scales your numbers

Simplify
each term ÷ GCD(all terms)

Solve a proportion (A:B = C:X)
cross-multiply → A × X = B × C

Scale to a target total
factor = target total ÷ current sum; new term = term × factor

Scale to a target term value
factor = target value ÷ current term value; new term = term × factor

Where:
A, B (, C) = the terms of a ratio, comparing quantities of the same kind (e.g. flour:sugar).
GCD = greatest common divisor of all terms; dividing by it reduces the ratio to lowest whole-number terms.
X = the unknown term in a proportion A:B = C:X, solved by cross-multiplication.
Scale factor = the multiplier applied to every term of a ratio so it hits a target total or target term value while keeping proportions identical.
🔻

GCD Reduces Every Ratio to Lowest Terms

Dividing every term by their greatest common divisor keeps the same proportion while using the smallest possible whole numbers, exactly like simplifying a fraction.

✖️

Cross-Multiplication Solves Any Missing Term

Because A:B = C:X means A/B = C/X, cross-multiplying (A×X = B×C) turns the proportion into a simple one-step algebra problem for whichever term is unknown.

📐

Scaling Preserves Proportion

Multiplying every term of a ratio by the same factor changes its scale but never its underlying proportion — 2:3 and 8:12 describe the identical relationship.

⚙️ Why This Formula Works

A ratio A:B is equivalent to the fraction A/B, so a proportion A:B = C:X is really the equation A/B = C/X. Cross-multiplying clears both denominators at once (A×X = B×C), which is the same algebraic move used to solve any equation with fractions on both sides. Scaling and simplifying both work by multiplying or dividing every term by the same factor, which never changes the ratio of the terms to each other.

🎯 When to Use Each Tool

  • Simplify: reducing a ratio to lowest terms or comparing two ratios
  • Solve for X: finding a missing quantity when two ratios are known to be equal
  • Scale: resizing a recipe, mixture, or model to a new total or target value

📋 Assumptions

  • Ratio terms are positive real numbers; zero or negative terms are rejected
  • Both sides of a proportion list quantities in the same order
  • The third term (C) is optional and only used when explicitly entered

⚠️ Limitations of the Formula

  • Solve for X only handles the classic 4-term proportion, not 3-term ratio proportions
  • Cannot detect an inconsistent order (e.g. flour:sugar mixed with sugar:flour) automatically
  • Undefined when a required denominator term (B, C, or A depending on the unknown) is 0
Walkthrough

Step-by-Step: How to Use the Ratio Calculator

From picking a tool to verifying the result

Choose a tool

Pick Simplify a Ratio, Solve for X (Proportions), or Scale a Ratio.

Enter your ratio terms

Type in the A and B terms, and an optional third term C for a three-term ratio.

For proportions, pick the unknown term

Select whether A, B, C, or X is unknown, then fill in the other three values.

For scaling, choose a target

Scale to a desired total, or scale so one specific term hits a target value.

Click Calculate, Solve, or Scale

The calculator applies the matching ratio formula instantly and displays the result.

Read the result and verify

Check the simplified ratio, solved value, or scaled ratio along with the full step-by-step working, and confirm it by reversing the calculation.

Example

Worked Example

Simplifying a 12:18:24 concrete mix, then scaling it to a 100 kg batch

Scenario

A concrete recipe calls for cement, sand, and gravel in the ratio 12:18:24 by weight. First reduce this to its simplest form, then scale it up to make a 100 kg batch.

Original Ratio12 : 18 : 24
Target Batch Total100 kg
Tools UsedSimplify + Scale
Step 1 — Terms are already whole numbers: 12, 18, 24 (no decimal scaling needed).
Step 2 — Find the GCD of all three terms: GCD(12, 18, 24) = 6.
Step 3 — Divide each term by 6: 12÷6 : 18÷6 : 24÷6 = 2 : 3 : 4.
Step 4 — Sum the simplified terms: 2 + 3 + 4 = 9.
Step 5 — Compute the scale factor for a 100 kg batch: 100 ÷ 9 ≈ 11.1111.
Step 6 — Multiply each term by the factor: 2×11.1111 ≈ 22.22 kg, 3×11.1111 ≈ 33.33 kg, 4×11.1111 ≈ 44.44 kg (sum ≈ 100 kg).
Simplified Ratio
2 : 3 : 4
Scale Factor
×11.11
100 kg Batch
22.22 : 33.33 : 44.44

Explanation: Reducing 12:18:24 to 2:3:4 first makes the scaling math simpler and reveals the true underlying proportion — 2 parts cement, 3 parts sand, 4 parts gravel. Scaling that reduced ratio to a 100 kg batch gives roughly 22.22 kg cement, 33.33 kg sand, and 44.44 kg gravel, which sum back to 100 kg.

Interpretation

Understanding Your Ratio Result

What each tool's output actually represents

Result FieldWhat It MeansExample Reading
Simplified RatioThe same proportion expressed in the smallest possible whole numbers12:18:24 simplifies to 2:3:4
Decimal (A ÷ B)The two-term ratio expressed as a single number for direct comparison2:3 → 0.6667
Percentage SplitEach term's share of the total, useful for reporting proportions2:3 → 40% / 60%
GCD UsedThe largest number every term was divided by to reach lowest termsGCD(12,18,24) = 6
Solved Value (X)The missing term that makes both sides of the proportion equal3:4 = 15:20 → solved C = 15
Scale FactorThe multiplier applied to every term to reach the targetFactor ×11.11 for a 100 kg batch

Reading the sign: a scale factor greater than 1 means the ratio was scaled up; a factor less than 1 means it was scaled down to a smaller total or term value.

Typical ranges: a GCD of 1 means the entered ratio was already in lowest terms — no further simplification is possible.

Manual verification: add the scaled or simplified terms back together and confirm the sum matches the target total, or plug a solved proportion value back into A:B = C:X to confirm both sides are equal.

Use Cases

Practical Use Cases for the Ratio Calculator

Where accurate ratio math genuinely matters

📚

School & college homework

Check ratio, proportion, and scaling word problems step by step.

📝

Competitive exam prep

Practice the ratio and proportion questions common in aptitude and entrance exams.

🍳

Recipe scaling & cooking

Scale ingredient ratios up or down while keeping flavor proportions correct.

🧪

Concrete & chemical mixing ratios

Scale cement:sand:gravel or dilution ratios to a larger or smaller batch size.

🗺️

Map scales & scale models

Convert a map or model scale ratio into real-world distances or dimensions.

🖥️

Aspect ratios

Resize a photo, video, or screen resolution while preserving its width:height ratio.

💰

Finance ratios

Compare simplified debt-to-equity, price-to-earnings, or current ratios.

🎨

Paint & dilution ratios

Mix paint, cleaning solutions, or fuel blends to the correct proportion.

🌱

Fertilizer & garden mixing ratios

Scale fertilizer or nutrient solution ratios to a tank or garden bed size.

🏗️

Model making & architecture

Scale a building or object's dimensions to a model or blueprint ratio.

📊

Data science train/test splits

Divide a dataset into training and testing sets using a chosen ratio, like 80:20.

🥗

Nutrition & macro ratios

Balance protein:carb:fat ratios in a meal plan.

📈

Business & marketing KPIs

Simplify and compare conversion, click-through, or cost ratios across campaigns.

Pros & Cons

Advantages and Limitations

What this ratio calculator does well, and where manual judgment is still needed

✅ Advantages

  • Free, instant, and requires no signup or account
  • Runs entirely in your browser — no data ever leaves your device
  • Three tools in one: simplify, solve for X, and scale a ratio
  • Supports both two-term and three-term ratios
  • Handles decimal ratio terms with automatic power-of-10 scaling
  • Shows the GCD, scale factor, and full step-by-step working behind every answer
  • Displays decimal equivalent and percentage split alongside the simplified ratio
  • Two scaling modes: target total or target term value
  • Solves for any of the four terms (A, B, C, or X) in a proportion
  • Removes manual cross-multiplication and GCD-finding errors
  • Fast-loading and fully mobile-friendly
  • Free to use as many times as needed, with no calculation limit

⚠️ Limitations

  • Rejects zero or negative ratio terms, which are mathematically undefined for this tool
  • Solve for X only supports the classic 4-term proportion, not a 3-term-ratio proportion
  • Cannot detect if you've entered the two sides of a proportion in an inconsistent order
  • Displays scaled and simplified values rounded to a small number of decimal places
  • Does not convert a ratio into a different measurement unit automatically
  • Assumes ratio terms represent quantities of the same kind, not different units (that's a rate, not a ratio)
  • No built-in way to compare more than two ratios side by side in one calculation
Reference

Ratio vs Proportion vs Rate

Three related but distinct concepts

TermDefinitionExample
RatioCompares two or more quantities of the same kind, with no units of its own2:3 (flour:sugar)
ProportionA statement that two ratios are equal2:3 = 8:12
RateCompares two quantities of different kinds and keeps the units60 miles per hour

Common Mistakes and Expert Tips

❌ Common Mistakes

  • Reversing the order of quantities on one side of a proportion (flour:sugar vs sugar:flour)
  • Adding ratio terms directly instead of finding the GCD before simplifying
  • Setting up the cross-multiplication with terms in the wrong position
  • Confusing a ratio (same-unit comparison) with a rate (different-unit comparison)
  • Forgetting that decimal ratio terms need scaling to whole numbers before finding the GCD
  • Assuming all other terms auto-adjust correctly without checking the new total after scaling

💡 Expert Tips & Best Practices

  • Use the GCF Calculator to independently verify the GCD used in a simplification
  • Convert a simplified ratio term to a percentage with the Percentage Calculator for reporting
  • Cross-check a two-term ratio against its equivalent using the Fraction Calculator
  • Keep the same order of quantities on both sides of any proportion you set up
  • After scaling, add the new terms back together to confirm they match your target total
📝

Summary: This ratio calculator gives you an instant, free way to simplify a ratio to lowest terms, solve for a missing term in a proportion, and scale a ratio to a new total or target value — all with the formula and steps shown. Pair it with related tools like the GCF Calculator and Fraction Calculator for a fuller picture of proportional math.

FAQ

Frequently Asked Questions

Common questions about ratios, proportions and scaling

What is a ratio?
A ratio compares two or more quantities, showing how many times one value contains another. For example, if a recipe uses 2 cups of flour for every 3 cups of sugar, the ratio of flour to sugar is 2:3. Ratios can have two terms (A:B) or more (A:B:C) and can be written with a colon, as a fraction, or in words.
How do you simplify a ratio?
Find the greatest common divisor (GCD) of all the terms, then divide every term by it. For example, to simplify 8:12, the GCD of 8 and 12 is 4, so 8÷4 : 12÷4 = 2:3. If any term is a decimal, first scale every term up by a power of 10 to make them whole numbers before finding the GCD.
What is a proportion and how do you solve for an unknown term?
A proportion states that two ratios are equal, such as A:B = C:X. You solve for the unknown term by cross-multiplying: A × X = B × C, then dividing to isolate the unknown. For example, in 3:4 = x:20, cross-multiplying gives 4 × x = 3 × 20, so x = 60/4 = 15.
How is a ratio different from a fraction?
A fraction represents a part of a single whole (like 3/4 of a pizza), while a ratio compares two or more separate quantities to each other (like 3 boys to 4 girls). A two-term ratio A:B can be written as the fraction A/B, but a ratio isn't required to represent a part-to-whole relationship the way a fraction does, and it can have more than two terms.
How do you scale a ratio to a new total?
Divide the target total by the sum of the current ratio terms to get a scale factor, then multiply every term by that factor. For example, to scale 2:3 (sum 5) to a total of 20, the scale factor is 20/5 = 4, so the new ratio is 2×4 : 3×4 = 8:12.
Can a ratio have more than two terms?
Yes — a ratio can compare any number of quantities. A three-term ratio like 2:3:4 might describe parts of cement, sand and gravel in a concrete mix, or the sides of a shape. It's simplified the same way as a two-term ratio: find the GCD of all the terms and divide each term by it.
Can I simplify a ratio that contains decimal numbers?
Yes. The Simplify tool accepts decimals like 2.5:5 — it first scales every term up by a power of 10 (based on the term with the most decimal places) to convert them to whole numbers, then finds the GCD and divides through, so 2.5:5 simplifies to 1:2.
What's the difference between scaling by "Target Total" and "Target Term Value"?
"Target Total" scales every term so the sum of the ratio equals a total you choose, useful when you know the overall quantity (like 20 total parts). "Target Term Value" instead scales the ratio so one specific term (A, B, or C) equals a value you choose, useful when you know only one ingredient amount and need the rest to match.
Which term can I solve for in a proportion?
Any of the four terms — A, B, C, or X — in the proportion A:B = C:X. Select which one is unknown using the radio buttons, enter the other three values, and the calculator cross-multiplies to isolate and solve for the term you chose.
Why can't a ratio term be zero or negative?
Ratio terms represent quantities being compared, and a zero or negative term makes the comparison meaningless or undefined — for example, dividing by a zero term when solving a proportion is mathematically impossible. The calculator requires positive numbers for all entered terms.
What is the GCD and why does the calculator show it?
GCD stands for greatest common divisor — the largest number that evenly divides every term of the ratio. The Simplify tool displays the GCD it used so you can see exactly how the original ratio was reduced to its lowest terms, not just the final answer.
How is the percentage split of a ratio calculated?
Each simplified term is divided by the sum of all simplified terms and multiplied by 100. For a 2:3 ratio, the sum is 5, so term A is 2/5 = 40% and term B is 3/5 = 60% — shown alongside the simplified ratio and decimal equivalent.
What is the difference between a ratio and a rate?
A ratio compares two quantities of the same kind and unit, such as 2 cups of flour to 3 cups of sugar, so it carries no units of its own once simplified. A rate compares two quantities of different kinds and keeps its units attached, such as 60 miles per hour or $5 per kilogram. A rate is really a ratio where the units differ and stay explicit in the answer.
Does the Solve for X tool work with 3-term ratios?
No — the Solve for X (Proportions) tool solves the classic proportion A:B = C:X, which involves four terms across two two-term ratios. For 3-term ratio work like cement:sand:gravel, use the Simplify or Scale a Ratio tools instead, both of which fully support an optional third term.
Learn More

Authoritative Resources on Ratios and Proportions

Trusted educational references to go deeper on ratio and proportion math

Related Calculators

Explore other math tools