Home / Calculators / Ratio Calculator

Ratio Calculator

Value A and B reduce, Original A and B scale, and Target A finds the missing member of a proportion.

Ratio Calculator — Runs locally

Simplify Ratio

Simplified Ratio—
Decimal (A / B)—

Scale a Ratio

Target B—
How to use

Using this tool

Ratio Calculator simplifies a ratio, finds equivalent ratios and solves for a missing term. All of the work on Ratio Calculator happens in this tab, so the values you enter or the files you open never travel to a server.


Controls on this page

Ratio Calculator gives you Value A, Value B, Original A, Original B and Target A. The options listed below the input on Ratio Calculator are the ones that change how the output is produced, and every one of them applies to a single run.


  • Whole numbers and decimals.
  • Three linked calculation groups.

How to use Ratio Calculator

  1. Type or paste your content into the input box at the top of Ratio Calculator.
  2. Pick the action on Ratio Calculator that matches the job, for example Value A.
  3. Press Clear All button on Ratio Calculator and read the answer in the separate output box.
  4. Copy the finished text from Ratio Calculator, then clear the boxes before starting the next one.

A worked example

Enter 12 and 18 as Value A and Value B and the page reduces the pair to 2:3, while the scaling group turns 3:4 into 9:12 when 9 is given as the target.


A closer look at Ratio Calculator

Simplification divides both terms by their greatest common divisor, so 12 and 18 collapse to 2 and 3. The scaling group takes the original pair and one target term, then calculates the missing one. Aspect ratios such as 16:9 can be simplified and scaled to a target width, which is how a video size is planned.

Decimal terms are accepted, but the simplified result is shown as whole numbers wherever the ratio allows it. Mixtures and recipes are easier to scale from the simplified form, because the smallest whole numbers are easier to multiply.


Putting Ratio Calculator to work

Ratio Calculator groups five fields: Value A and Value B simplify a ratio, while Original A, Original B and Target A scale one. Entering 12 and 18 in the first pair reduces the ratio to 2 : 3 by dividing both sides by six.

The scaling group keeps the proportion intact, so 3 : 4 mapped from 9 returns 12 for the missing side. Decimals are accepted, which is useful when a ratio comes from two measured quantities rather than two counts.


Where Ratio Calculator helps

  • Resizing a recipe or a mix proportion.
  • Scaling a drawing while keeping its shape.
  • Checking aspect ratios for screens and images.

Precision and limits

  • The simplified form divides both terms by their greatest common divisor.
  • Scaling uses the original pair and one target term, so the missing term is calculated rather than typed.
  • Decimal terms are accepted, but the simplified result is shown as whole numbers when possible.

Frequently asked questions

How is 12:18 simplified?

Both terms are divided by 6, giving 2:3.

Can it solve for a missing value?

Yes, enter the original ratio and one target term and the other target term is calculated.

Does it support aspect ratios?

Yes, pairs such as 16:9 can be simplified and scaled to a target width.

What if the terms are decimals?

They are accepted, and the tool reduces them to the smallest whole-number ratio it can.