Ratio Calculator

Simplify a ratio, solve a proportion for x, share an amount in a ratio or turn a width and height into an aspect ratio, with the working.

Ratio

Whole numbers, decimals or fractions like 3/4. Paste 12:18:24 to fill every box.

Try
0 : 0in simplest form

Type two or more amounts to simplify the ratio.

Also written as

1 : n
Not yet
n : 1
Not yet
Parts of the whole
Not yet
Percentages
Not yet

Equivalent ratios

Shows once the ratio is in.

Working

The steps show once every box has a number.

Each answer is exact, in simplest form, and the working uses your own numbers, so a homework answer can be checked line by line.

Free with no sign-up, and the ratios you type never leave this page.

  • Steps for every answer
  • Decimals and fractions
  • Proportions and aspect ratios

How to calculate a ratio

Pick a tab, type the amounts with a colon between them, then read the answer and the steps under it.

  1. Write a ratio

    Type each amount in its own box, or paste a whole ratio such as 12:18:24 and it fills them. Decimals and 3/4 work.

  2. Find the missing value

    In Proportion, leave one of the four boxes empty. The calculator solves for x, so 2 : 3 = x : 12 gives x = 8.

  3. Follow the working out

    Each step under the answer uses your numbers: the common factor divided out, or the cross multiplication.

How to solve proportions

A proportion says two ratios are equal, like 2 : 3 = 8 : 12. To solve one with a missing number, write both ratios as fractions and cross multiply: in 2 : 3 = x : 12, 3 times x equals 2 times 12, so 3x = 24 and x = 8.

Recipes and maps are proportions too. If 3 cups of flour make 5 pancakes, then 3 : 5 = 12 : x tells you 12 cups make 20, since 3x = 60. The scale factor, here 4, is how much every amount was multiplied by.

Fill all four boxes instead and the proportion solver checks the equation. The two cross products must match: 2 × 12 and 3 × 8 are both 24, so 2 : 3 and 8 : 12 are equal. If they differ, the page says which side is larger.

How to simplify ratios

Divide every term by the greatest common factor, the largest number that goes into all of them. For 12 : 18 : 24 that factor is 6, so the ratio in simplest form is 2 : 3 : 4. The amounts are smaller, but the comparison between them is the same.

Decimals and fractions are cleared first. Multiply 1.5 : 2.5 by 10 to get 15 : 25, then divide by 5 for 3 : 5. For 1/2 : 3/4, multiply by 4, the lowest common denominator, to get 2 : 3. The Simplify tab does both steps and shows them.

Some ratios read better with a 1 in them. Dividing 2 : 3 by its first term gives 1 : 1.5, and dividing by its second gives 0.67 : 1. Recipes, scale models and odds are often written this way, and the tab shows both forms.

How to share in a ratio

To share 120 in the ratio 2 : 3, add the parts to get 5, then divide: one part is 120 ÷ 5 = 24. Multiply each term by it for 48 and 72, and check that they add back to 120. Dividing ratios with three or more terms works the same way.

This is how a mixing ratio works. Squash mixed 1 : 4 for a 1,500 ml jug is 300 ml of squash and 1,200 ml of water, and concrete mixed 1 : 2 : 3 for 30 buckets is 5 of cement, 10 of sand and 15 of gravel.

Know one share instead of the total? Pick One share and say which term it is. If the 3 in 3 : 5 is worth 45, one part is 15, so the 5 is worth 75 and the total is 120. Shares that do not divide evenly are shown exactly as fractions.

How to calculate aspect ratio

An aspect ratio is width to height in simplest form. For 1920 × 1080, the greatest common factor is 120, so the 1920x1080 aspect ratio is 16 : 9. Phones, cameras, TVs and video sites all describe screens and pictures this way.

Some sizes are only close to a common shape. 1366 × 768 simplifies to 683 : 384, which is 1.7786 : 1 against 1.7778 : 1 for 16 : 9, so the aspect ratio calculator names 16 : 9 as the nearest ratio and says how far off it is.

To resize without stretching, type a new width and the height follows, or the other way round. A 1280 pixel wide picture at 16 : 9 is 720 tall. Pixel sizes are rounded to whole pixels, and the page says when that changes the shape a little.

What this ratio solver handles

  • Equivalent ratios

    A ratio table of the first ten equivalent ratios, so 2 : 3 also reads as 4 : 6, 6 : 9 and 20 : 30.

  • Ratio to percentage

    Each term as a fraction and a percent of the whole: 3 : 1 is 3/4 and 1/4 of it, or 75% and 25%.

  • Ratio of three numbers

    Up to six terms in one ratio, like 1 : 2 : 3 for concrete, simplified or shared out in one step.

  • Ratios with decimals

    Type 0.5 : 1.25 or 1/3 : 1/2 and the terms are turned into whole numbers before they are simplified.

  • Mixing ratio calculator

    Split a total in a ratio for paint, epoxy, squash or concrete, with a unit such as ml, litres or kg.

  • 16:9 calculator

    Pick 16:9, 4:3, 21:9, 9:16 and more, then type one side to get the other side at that exact shape.

Where your numbers go

Nowhere: every ratio is worked out in this browser tab, and nothing you type is sent or kept.

  • Processing

    This ratio calculator works online but runs in your browser, with exact whole numbers and no server.

  • Storage

    No ratio is saved: close or reload the tab and every box starts empty again, with no history kept.

  • Account

    No account, email or app to install, whether you simplify one ratio or a whole worksheet of them.

Ratio and proportion questions

What is a ratio in math?

A way to compare amounts by size. 3 : 2 means 3 of one thing for every 2 of another, like 3 cups of flour to 2 of sugar.

What is a proportion?

Two equal ratios written as an equation, like 1 : 2 = 5 : 10. A ratio compares amounts; a proportion says two match.

How do you find the ratio of two numbers?

Write them in order with a colon, then divide both by their greatest common factor: 15 and 25 make 15 : 25, which is 3 : 5.

What does a 3 to 1 ratio mean?

Three parts of one thing for each part of another, four parts in all. Shared 3 : 1, a bill of $100 is $75 and $25.

How do you convert a ratio to a percentage?

Add the terms, divide each by the total, then multiply by 100. For 2 : 3 the total is 5, so the parts are 40% and 60%.

What is the golden ratio?

About 1.618 : 1, written φ, the ratio (1 + √5) ÷ 2. To split a length by it, use Share with the ratio 1.618 : 1.

What is 16:9 in pixels?

Any size whose width is 16/9 of its height: 1280 × 720, 1920 × 1080, 2560 × 1440 and 3840 × 2160 for 4K TVs.

How do you find a ratio with different units?

Turn both into the same unit first, then simplify. For 90 cm to 1.5 m, use 90 cm to 150 cm: 90 : 150 is 3 : 5.

Still stuck, or found a problem? Email dobliquestudio@gmail.com and we will help.