My Calculator

Ratio Calculator

Simplify ratios, scale a ratio up or down, or solve for the missing value in a proportion — with full step-by-step solutions and a visual diagram.

Separate terms with a colon, slash, or comma — e.g. 12:18 or 4:6:8.

Simplified Ratio

2 : 3

12 : 18 simplifies to 2 : 3

Visual Diagram

Original1240.0%1860.0%Simplified240.0%360.0%
Term 1Term 2

Step-by-Step Solution

Here's exactly how this answer was calculated, one step at a time.

  1. 1

    Write down the given ratio

    Ratio = 12 : 18

    This ratio has 2 terms.

  2. 2

    Find the greatest common divisor (GCD) of all terms

    GCD(12, 18) = 6

    The GCD is the largest number that divides every term evenly (decimals are first scaled to whole numbers).

  3. 3

    Divide every term by the GCD

    12 ÷ 6, 18 ÷ 6

    Dividing each term by the same number keeps the ratio equivalent, just in its smallest whole-number form.

  4. 4

    Write the simplified ratio

    Simplified Ratio = 2 : 3

    This is the ratio in its simplest, fully reduced form.

Final Answer: Simplified Ratio = 2 : 3

Free Online Ratio Calculator

This ratio calculator is a free online tool that instantly simplifies ratios, scales a ratio up or down, and solves for a missing value in a proportion. Enter any ratio — with two, three, or more terms — separated by a colon, slash, or comma, and the calculator reduces it to its simplest whole-number form, shows every step of the calculation, and draws a clear visual diagram with the actual values labeled directly on it. You can also scale a ratio by a chosen factor, or solve a classic proportion problem (A:B = C:x) using cross multiplication.

Whether you're a student working through a math or pre-algebra homework problem, a cook adjusting a recipe, someone mixing paint, cement, or concrete in the correct proportion, or a professional comparing financial ratios, this calculator gives you an instant, accurate answer with a full explanation of how it was calculated.

What Is a Ratio?

A ratio is a way of comparing two or more quantities, showing how many times one value contains or is contained within another. Ratios are written using a colon, such as 3:2, which is read as 'three to two.' A ratio can compare a part to another part (part-to-part), such as boys to girls in a class, or a part to the whole (part-to-whole), such as red marbles out of all marbles in a bag.

Ratios show up constantly in everyday life — in recipes (flour to sugar), construction (cement to sand to gravel), finance (debt to equity), photography and screens (aspect ratio like 16:9), and maps (scale ratio like 1:50,000).

Ratio Formula & Notation

A ratio between two numbers A and B is written as A : B, and is mathematically equivalent to the fraction A / B. Here are the key formulas this calculator uses:

  • Simplifying a ratio: divide every term by the GCD (Greatest Common Divisor) of all the terms — Simplified Ratio = (A ÷ GCD) : (B ÷ GCD)
  • Scaling a ratio: multiply every term by the same scale factor k — Scaled Ratio = (A × k) : (B × k)
  • Solving a proportion A:B = C:x using cross multiplication: x = (B × C) ÷ A
  • Converting a ratio to a fraction: A : B = A / B

How to Simplify a Ratio — Step by Step

Simplifying a ratio means reducing it to the smallest possible whole numbers while keeping the same proportion. Here's how it's done:

  • Step 1: Write down all the terms of the ratio.
  • Step 2: If any term is a decimal, multiply every term by a power of 10 to convert them all to whole numbers.
  • Step 3: Find the GCD (greatest common divisor) of all the terms.
  • Step 4: Divide every term by the GCD to get the simplified ratio.

How to Solve a Proportion (Cross Multiplication)

A proportion is an equation that states two ratios are equal, such as A:B = C:x. To solve for the missing value x, this calculator uses the cross multiplication method: rewrite the ratios as fractions (A/B = C/x), then multiply diagonally across the equals sign to get A × x = B × C. Finally, divide both sides by A to isolate x, giving the formula x = (B × C) ÷ A.

This is one of the most useful ratio skills in math, since it lets you scale any known ratio to find a missing quantity — for example, if a recipe for 4 people needs 6 eggs, how many eggs do you need for 10 people?

Worked Example — Simplifying a Ratio

Simplify the ratio 12 : 18.

  • Step 1: Terms are 12 and 18.
  • Step 2: GCD(12, 18) = 6.
  • Step 3: Divide each term by 6: 12 ÷ 6 = 2, and 18 ÷ 6 = 3.
  • Step 4: Simplified ratio = 2 : 3.

Worked Example — Solving a Proportion

Solve for x: 4 : 6 = 10 : x.

  • Step 1: Rewrite as fractions: 4/6 = 10/x.
  • Step 2: Cross multiply: 4 × x = 6 × 10 = 60.
  • Step 3: Solve for x: x = 60 ÷ 4 = 15.
  • Step 4: Answer: 4 : 6 = 10 : 15.

Understanding the Visual Diagram

The diagram on this page is designed so the picture alone explains the ratio — no extra reading required. Each ratio is drawn as a single bar split into colored segments, and the width of every segment matches its exact share of the whole. The value of each term is labeled directly inside its segment, along with the percentage that term represents of the total, so you can instantly see how the parts compare.

For simplify and scale modes, two bars are stacked — the original ratio on top and the resulting ratio underneath — and because a simplified or scaled ratio keeps the exact same proportion as the original, both bars line up with identical segment widths, even though the numbers themselves are different. This makes it immediately clear, just by looking, that the two ratios represent the same relationship. In proportion mode, the A:B bar and the solved C:x bar are shown the same way, visually confirming that both sides of the proportion are equal.

Ratio vs. Fraction vs. Proportion

These three terms are closely related but mean slightly different things. A ratio compares two or more quantities and is written with a colon, like 3:2. A fraction expresses a part out of a whole and is written as one number over another, like 3/2 — in fact, a ratio A:B can always be written as the fraction A/B. A proportion is a statement that two ratios are equal, such as 3:2 = 6:4, and solving a proportion means finding a missing value that keeps both sides equal.

Understanding the difference matters because a ratio doesn't have to add up to a 'whole' the way a fraction typically does, and a proportion is really just an equation built from two equivalent ratios.

Real-Life Uses of the Ratio Calculator

Ratios are used constantly in daily life and across many professions. In cooking and baking, ratios keep a recipe's taste and texture consistent when you scale it up or down — for example, adjusting a flour-to-sugar ratio for a bigger batch, or working out how much of each ingredient you need to cook for 10 people instead of 4. In construction, mixing cement, sand, and aggregate in the correct ratio (such as 1:2:4) is essential for concrete strength, and getting the proportion wrong can weaken an entire structure. In finance, ratios like debt-to-equity, price-to-earnings, or current ratio help investors and analysts evaluate a company's financial health at a glance. In photography, television, and video editing, aspect ratios like 16:9 or 4:3 determine screen and image dimensions, which is why choosing the right ratio matters for how content displays across devices. In maps and architectural models, a scale ratio like 1:50,000 shows how real-world distances relate to distances on paper. Students use ratio and proportion problems throughout school math, from simple part-to-part comparisons in early grades to more advanced algebra, geometry, and trigonometry problems later on.

Because this calculator handles simplifying, scaling, and solving proportions all in one place — with a diagram that shows the values visually — it's useful whether you're checking a homework answer, planning a recipe, mixing materials for a home project, or analyzing a business ratio for a report.

Common Mistakes When Working With Ratios

A common mistake is confusing part-to-part and part-to-whole ratios — for example, mixing up 'red to blue marbles' with 'red marbles out of all marbles.' Another frequent error is simplifying only some of the terms instead of dividing every term by the same GCD, which breaks the proportion and gives a ratio that no longer matches the original. When solving a proportion, a common slip is cross multiplying the wrong pair of terms or dividing by the wrong value, which produces an incorrect answer for x. Rounding too early when working with decimal ratios can also introduce small errors that compound through the calculation. This calculator avoids all of these mistakes automatically and shows every step, so you can see exactly how the GCD was found, how the terms were cross multiplied, or how the scale factor was applied.

Why Use This Ratio Calculator?

This tool combines three of the most common ratio tasks — simplifying, scaling, and solving proportions — into one calculator, with a complete step-by-step solution and a clear, color-coded diagram that shows every value at a glance. Whether you're a student learning ratios for the first time or a professional who needs a quick, reliable answer, this calculator gets you there instantly.

Frequently Asked Questions

How do you simplify a ratio?

Find the GCD (greatest common divisor) of all the terms in the ratio, then divide every term by that GCD. For example, 12:18 simplifies to 2:3 because the GCD of 12 and 18 is 6.

How do you solve a proportion like A:B = C:x?

Rewrite the ratios as fractions (A/B = C/x), then cross multiply to get A × x = B × C, and finally divide both sides by A to solve for x: x = (B × C) ÷ A.

Can I simplify a ratio with more than two terms?

Yes. Enter all the terms separated by colons, such as 4:6:8, and the calculator finds the GCD of every term and divides them all by it to get the simplified ratio.

Can this calculator handle decimal ratios?

Yes. If any term has a decimal, the calculator first scales every term up to whole numbers before finding the GCD and simplifying, so you still get an accurate simplified ratio.

What is the difference between a ratio and a fraction?

A ratio compares two or more quantities and is written with a colon, like 3:2. A fraction expresses part of a whole and is written as one number over another, like 3/2. A ratio A:B can always be rewritten as the fraction A/B.

How does the diagram show the ratio?

The diagram draws the ratio as a single bar split into colored segments, where each segment's width matches its exact share of the total, and the value and percentage of each term are labeled directly on the segment.