molecalculator

Moles & Molar Mass

Mass Ratio Chemistry: Formula and Calculator

Calculator No. 01-4122 · Updated · Formula and assumptions shown below

Mass ratio A:B 0.400
A as a percentage of B
40.0 %
= (Mass of substance A ÷ Mass of substance B) × 100
Mass of substance A
2 g
Set in the form below
Mass of substance B
5 g
Set in the form below
You enter
Mass of substance A (g), Mass of substance B (g)
You get
Mass ratio A:B, A as a percentage of B (%)
Rounding
3 dp · 1 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

This calculator finds the mass ratio of two substances from their masses, expressing how many parts by mass of one correspond to the other. Enter both masses in the same unit; the result is a dimensionless ratio, with an optional equivalent percentage.

Formula

The mass ratio of A to B is the mass of A divided by the mass of B:

Mass ratio A:B = mA / mB

Here, mA is the mass of substance A and mB is the mass of substance B. Use the same unit for both masses, such as grams or milligrams. Because the units cancel, the ratio has no unit. The calculator also reports A’s mass as a percentage of B: (mA / mB) × 100%.

A ratio written A:B is often shown as two numbers rather than one quotient. For example, 2:5 means two mass parts of A for every five mass parts of B. Dividing both sides by the second number gives 0.4:1. The calculator’s first result is that quotient, 0.4.

Worked Example

Using the default inputs, mA = 2.00 g and mB = 5.00 g:

  1. Divide A’s mass by B’s mass: 2.00 g / 5.00 g = 0.400.
  2. Write the ratio as A:B: 0.400:1, equivalent to 2.00:5.00.
  3. Convert the quotient to a percentage: 0.400 × 100% = 40.0%.

The calculator therefore gives a mass ratio A:B of 0.400 and an A-to-B percentage of 40.0%.

Assumptions

  • Both entries are masses measured on the same basis and in the same unit.
  • Each input is greater than zero; a ratio cannot be calculated if the denominator is zero.
  • The result compares the masses entered; it does not account for purity, reaction yield, or material lost during handling.

What You’ll Need

  • The mass of substance A and the mass of substance B.
  • A consistent mass unit for both values, such as g, mg, or kg.
  • A calculator, or the calculator above.

If you are finding masses from laboratory measurements, use the values recorded by your method and apply any required corrections before calculating the ratio. For bench work, follow your lab method, the safety data sheet (SDS) and your supervisor.

Step-by-Step

  1. Identify the two substances. Decide which material is A and which is B. The order matters: A:B is not generally the same as B:A. In a recipe, mixture, or compound calculation, use the order specified by the question.
  2. Record each mass. Write down mA and mB with their units. Use actual mass values, not volume, moles, or concentration unless you first convert those quantities to mass using the appropriate information.
  3. Make the units consistent. Convert one value if necessary. For example, 500 mg = 0.500 g. Do not divide a value in grams by a value in milligrams without conversion: the apparent ratio would be wrong by a factor of 1,000.
  4. Check that the denominator is not zero. The mass of B is the denominator for A:B. If it is zero or unknown, the ratio cannot be calculated as a finite number. If both masses are zero, no meaningful ratio is defined.
  5. Divide A’s mass by B’s mass. Calculate mA / mB. Keep several digits during the calculation, then round the final result to a precision appropriate for the measurements.
  6. Present the ratio clearly. A quotient such as 0.4 can be written as 0.4:1. Alternatively, preserve the original mass pair, such as 2:5. If you want whole-number parts, divide both masses by their greatest common factor where practical; measured decimal values do not always reduce neatly.
  7. Check the direction and meaning. A result below 1 means A has less mass than B; a result above 1 means A has more. Swapping A and B gives the reciprocal. State what each side represents so the ratio cannot be misread.
  8. Use the percentage carefully. A:B = 0.4 means A’s mass is 40% of B’s mass. It does not mean A is 40% of the total mixture. For the fraction of the combined mass, calculate mA / (mA + mB) × 100% instead.

Common Mistakes

  • Reversing the order: A:B and B:A are reciprocals. Label each substance before dividing.
  • Mixing units: Convert grams, milligrams, and kilograms to one unit before taking the ratio.
  • Confusing a ratio with a percent of the total: A divided by B differs from A divided by A plus B. For a 2 g and 5 g mixture, A is 40% of B but about 28.6% of the combined 7 g.
  • Using volume instead of mass: Equal volumes of different substances need not have equal masses. Convert volume to mass using a suitable density if that information is available.
  • Rounding too early: Keep full available precision through the division. Round only the displayed answer, taking measurement precision into account.
  • Assuming a mass ratio is a mole ratio: Mass ratios compare mass; mole ratios compare amount of substance. Converting between them requires molar masses.

Tips

  • Write the labels beside the numbers, such as 2.00 g A and 5.00 g B, before calculating.
  • Use the same number of significant figures in the final result as the measurements justify; extra calculator digits do not make an imprecise measurement more accurate.
  • To scale a mixture while keeping its ratio, multiply both masses by the same factor. A 2:5 ratio becomes 4:10 or 0.4:1, for example.
  • For a three-component mixture, calculate each mass relative to a clearly chosen reference, or report all three masses and their total. Do not describe one two-part ratio as if it covered all components.
  • In a balanced chemical equation, coefficients give mole relationships, not mass relationships. Multiply each coefficient by its substance’s molar mass to obtain the corresponding mass relationship.

Troubleshooting

The result is unexpectedly large or small: Check that both inputs use the same unit and that you divided A by B rather than B by A. Compare the result with a rough estimate: if A is about half of B, A:B should be about 0.5:1.

The calculator will not accept an input: Both masses must be positive. Check for a blank, zero, negative value, or an incorrectly placed decimal point. If a measured value is reported as zero because it is below an instrument’s resolution, use a valid measurement or report that the ratio cannot be determined from the available data.

You have volumes but no masses: Find an appropriate density for each material and condition, then use mass = density × volume with compatible units. Density can vary with temperature, composition, and concentration, so do not treat an unsuitable reference value as exact.

Your answer does not match a chemistry problem’s expected ratio: Check whether the question asks for a mass ratio, mole ratio, mass percent, or percent composition. These quantities use different calculations. Also verify whether the problem includes purity, hydration, or a limiting reactant.

Frequently Asked Questions

What is a mass ratio in chemistry?
A mass ratio compares the masses of two substances by division. It can be written as a quotient, such as 0.4, or as parts, such as 2:5.

Does a mass ratio have units?
No, provided both masses are in the same unit. The mass units cancel when one mass is divided by the other.

How do I calculate a mass ratio from grams?
Divide the first substance’s mass in grams by the second substance’s mass in grams. For example, 3 g / 6 g = 0.5, so the ratio is 0.5:1 or 1:2.

Is mass ratio the same as mass percent?
No. A-to-B mass ratio divides A by B; mass percent of A in a two-substance mixture divides A by A + B and multiplies by 100%.

Can I calculate a mass ratio from moles?
Yes. Convert each amount in moles to mass by multiplying by its molar mass, then divide the resulting masses in the requested order.

What if the second mass is zero?
A:B cannot be calculated as a finite ratio when B is zero. If B is merely very small, report the inputs and appropriate precision rather than implying more certainty than the measurements support.

Related

Formula used
in ma | Mass of substance A | g | 2.00 | 0
in mb | Mass of substance B | g | 5.00 | 0
out ratio | Mass ratio A:B | - | ma / mb | 3
out pct | A as a percentage of B | % | (ma / mb) * 100 | 1

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →