Solved.tools: Free Online Calculators & Tools

We use cookies for analytics and advertising. Learn more about our cookie policy

Ratio Calculator

Last updated: 27 June 2026

Reviewed by Gavin Meiring, Lead research and primary author ยท Doctoral Candidate (Corporate Governance) ยท Research and drafting assisted by AI

a : b = c : d โ†’ solve for d

:=:
Was this helpful?


Ratio Calculator

A ratio calculator simplifies ratios, scales them up or down, and solves for a missing value in a proportion. It is used by students, cooks, engineers, architects, and anyone who needs to maintain or compare proportional relationships between quantities.

How to Use the Ratio Calculator

  1. Enter the two values of a ratio in the A and B fields (e.g., 4 and 6).
  2. Click Simplify to reduce the ratio to its lowest form.
  3. To scale the ratio, enter a multiplier or a target value for one part and the calculator finds the other.
  4. To solve a proportion (A:B = C:D), enter three known values and leave the fourth blank, then click Solve.
  5. Switch to the equivalent ratios mode to see a table of multiples for easy reference.

The Formula

To simplify a ratio A:B, find the Greatest Common Factor (GCF) of A and B, then divide both by it. Simplified ratio = (A divided by GCF) : (B divided by GCF). To solve a proportion where A:B = C:D and D is unknown: D = (B multiplied by C) divided by A. This is called cross-multiplication. To scale a ratio by factor k: multiply both parts by k to get (A times k) : (B times k).

Real-World Example

A recipe uses flour and sugar in a ratio of 3:1. You need to scale it up to use 750 g of flour. First, simplify: 3:1 is already in simplest form. Find the scale factor: 750 divided by 3 = 250. Sugar needed = 1 multiplied by 250 = 250 g. Now scale a second scenario: a paint mix requires red to white in ratio 2:5. You have 300 ml of red. White needed = (5 multiplied by 300) divided by 2 = 750 ml. Total paint = 300 plus 750 = 1,050 ml.

Ratios in Maps, Scale Drawings, and Finance

In cartography, a map scale of 1:50,000 means 1 cm on the map equals 50,000 cm (500 m) in reality. Architects use scale ratios such as 1:100 to represent buildings in drawings. In finance, key ratios such as the price-to-earnings (P/E) ratio compare one financial metric to another, summarising company value in a single number. Debt-to-equity ratios express financial gearing. Understanding whether a ratio is expressed as A:B, A to B, or A/B (a fraction) is important because they are the same relationship written differently.

Frequently Asked Questions

What is the difference between a ratio and a fraction? A ratio compares two or more quantities that do not have to add to a whole. A fraction represents a part of a whole. The ratio 3:5 means for every 3 of one thing there are 5 of another; as a fraction, 3 out of 8 total parts is 3/8. Both representations are useful depending on context.

How do I convert a ratio to a percentage? Convert the ratio to a fraction of the total, then multiply by 100. If the ratio is 3:7, the total parts are 10. The first quantity is 3/10 = 30 percent. The second is 7/10 = 70 percent.

What is a proportion and how is it different from a ratio? A ratio is a comparison of two quantities. A proportion is a statement that two ratios are equal: A:B = C:D. Proportions are used to scale recipes, convert units, and solve similar triangle problems in geometry.

Can ratios involve more than two numbers? Yes. A ratio can compare three or more quantities: concrete might be mixed in a ratio of cement to sand to gravel of 1:2:3. When working with multi-part ratios, the same principles apply; find the GCF of all parts to simplify, or find the scale factor to adjust each part proportionally.

A three part ratio in the mixer

Ratios with three parts are common in construction, and the arithmetic is the same as for two parts.

A concrete mix of 1:2:3 by volume means one part cement, two parts sand and three parts aggregate. The parts add to six.

Suppose you want 1.5 cubic metres of mixed concrete. One cubic metre is 1,000 litres, so the total is 1,500 litres. Each part takes 1,500 divided by 6, which is 250 litres.

materialpartsshare of the totalcubic metreslitres
cement11/6 = 0.1666670.2500250.00
sand22/6 = 0.3333330.5000500.00
aggregate33/6 = 0.5000000.7500750.00

The cement share is 16.6667 percent of the mix by volume, and it stays at that figure however much concrete you order. A two cubic metre pour takes 333.33 litres of cement. A ten cubic metre pour takes 1,666.67 litres.

Equivalent ratios and the share each part keeps

Multiplying every part by the same number gives an equivalent ratio. The proportions do not move.

ratiosum of partscementsandaggregatecement share
1:2:3612316.6667 percent
2:4:61224616.6667 percent
3:6:91836916.6667 percent
4:8:1224481216.6667 percent
5:10:15305101516.6667 percent

The last column is the check. If the share changes when you scale, the scaling is wrong. This is the property that lets a builder write a mix as 1:2:3 and a supplier read it as 4:8:12 without either of them converting anything.

Reading a map scale

A map scale written as 1:50,000 is a ratio. One unit on the paper is 50,000 of the same unit on the ground.

map distanceground distance in cmin metresin kilometres
1 cm50,000500.000.5000
3.5 cm175,0001,750.001.7500
7.4 cm370,0003,700.003.7000
12 cm600,0006,000.006.0000

The inverse is just as useful. A footpath 4.2 kilometres long measures 420,000 centimetres on the ground, so on a 1:50,000 sheet it runs 8.4 centimetres. That is the calculation to reach for when you are deciding whether a route fits on one page.

Converting the ratio to a fraction gives the same answer and is harder to get wrong. The fraction 1/50,000 multiplied by 420,000 centimetres is 8.4 centimetres.

Paper sizes and the ratio that fixes them

The ISO 216 series of paper sizes is defined by a single ratio, 1 to the square root of 2, which is 1 to 1.4142136. Halving a sheet along its long edge produces two sheets with the same ratio.

sizedimensionsratio of long to short sidearea in square millimetresnominal area
A0841 by 1,189 mm1.413793999,9491,000,000
A2420 by 594 mm1.414286249,480250,000
A4210 by 297 mm1.41428662,37062,500

The gaps in the last two columns are not errors. The dimensions are rounded to whole millimetres for manufacture, so a printed A4 sheet measures 62,370 square millimetres against a nominal 62,500. The ratio survives the rounding to five decimal places, which is the whole point of the standard.

Three ways to solve one proportion

The proportion 3:4 = 12:x can be solved three ways, and all three give 16.

Cross multiplication multiplies the means and the extremes: x = (4 multiplied by 12) divided by 3, which is 48 divided by 3, which is 16.

The scale factor route asks how the known pair relates. The first part went from 3 to 12, a factor of 4, so the second part goes from 4 to 4 multiplied by 4, which is 16.

The fraction route writes the ratio as 3/4 and the answer as 12/16. Both equal 0.75. Checking that the two fractions match is the quickest way to catch a cross multiplication you have set up upside down.

Aspect ratios and screen dimensions

An aspect ratio is a ratio with the units dropped. The table below shows how the decimal value converts to pixel dimensions.

ratioas a decimalheight at 1,920 wideheight at 1,280 wide
16:91.7777781,080720
4:31.3333331,440960
3:21.5000001,280853
21:92.333333823549

The 3:2 and 21:9 rows do not land on whole pixels. Any size you actually export has to be rounded, which is why a 21:9 display is usually quoted as 2,560 by 1,080 rather than as a clean multiple of nine.

What a price to earnings ratio compares

Financial ratios work the same way as any other ratio: one quantity divided by another, with the units dropped.

A share trading at 45.00 with earnings of 2.50 per share carries a price to earnings ratio of 45.00 divided by 2.50, which is 18.0. The same figure comes out of the company totals: a market value of 4,500,000,000 divided by earnings of 250,000,000 is also 18.0.

The ratio is a price per unit of earnings. Inverting it gives the earnings yield, which here is 1 divided by 18.0, or 5.5556 percent. That is the return the buyer gets if earnings stay flat and the price never moves.

Where the ratio calculator stops

Ratios compare quantities in the same unit. A ratio of 1:2 between litres and kilograms is not a ratio at all, because the units do not cancel.

Parts must also be non-negative for the simplification step to behave. A negative part is arithmetically valid but describes a comparison few people need, and the greatest common factor routine will happily return one.

Finally, a proportion needs three known values and one unknown. If two values are missing, the relationship is underdetermined and no arithmetic recovers it.

Also try these free tools: