keepcalculator

06 Numbers and Powers

Grams Unit Calculator: Convert & Measure Mass

Card No. 06·1026 · Updated · Standard formula, shown below

Converted value 100.000000
Amount in moles
Cannot compute mol
Result
Value
100
You entered
From unit
g
You entered
You enter
Value, From unit, To unit, Molar mass (g/mol)
You get
Converted value, Amount in moles
Rounding
6 dp · 4 dp

This grams unit calculator converts between grams and other common mass units (kilograms, milligrams, ounces, pounds, and more) and also calculates the number of moles from a given mass and molar mass. Enter the value and select the unit you have; the calculator returns the equivalent in all other units and, if you provide a molar mass, the amount in moles.

Formula

The conversion uses a simple multiplication factor. Each unit is defined in terms of grams (the base unit of mass in the metric system):

  • 1 kilogram (kg) = 1000 grams
  • 1 milligram (mg) = 0.001 grams
  • 1 ounce (oz) = 28.349523125 grams (international avoirdupois ounce)
  • 1 pound (lb) = 453.59237 grams (international avoirdupois pound)
  • 1 short ton = 907,184.74 grams (2000 pounds)

To convert from unit A to unit B, multiply the value by the gram-equivalent of A and divide by the gram-equivalent of B:

Converted value = value × (grams per unit A) / (grams per unit B)

For moles, the formula is:

Moles = mass (in grams) / molar mass (g/mol)

Molar mass is the mass of one mole of a substance, expressed in grams per mole. It comes from the periodic table (atomic weights) and is numerically equal to the atomic or molecular weight.

Worked Example

Using the default values: convert 100 grams to ounces, and find the moles if the molar mass is 0 (so moles are not computed).

  1. From unit = g (factor 1), to unit = oz (factor 28.349523125).
  2. Converted value = 100 × 1 / 28.349523125 = 3.527396195 ounces.
  3. Moles: molar mass is 0, so the formula would divide by zero; the calculator shows no result. If you enter a molar mass, e.g., water = 18.015 g/mol, then moles = 100 / 18.015 = 5.551 moles.

The calculator displays 3.527396 oz as the headline answer.

Why Use Grams?

The gram is the base unit of mass in the International System of Units (SI) and is used worldwide in science, medicine, cooking, and commerce. It is defined as one-thousandth of the kilogram, the SI base unit of mass. Most countries use grams for everyday measurements of food, mail, and small objects. In the United States, ounces and pounds are common, but grams appear on nutrition labels and in scientific work. Converting between these systems is a constant need for travelers, cooks, students, and professionals.

How to Use the Calculator

Enter a numeric value in the first field. Choose the unit you have from the “From unit” dropdown and the unit you want from the “To unit” dropdown. The calculator instantly shows the equivalent value. If you also enter a molar mass (for a chemical compound or element), the calculator will show the number of moles in that sample.

For example:

  • Convert 500 g to lb: 500 × 1 / 453.59237 = 1.10231 lb.
  • Convert 2 kg to oz: 2 × 1000 / 28.349523125 = 70.5479 oz.
  • Convert 0.5 lb to g: 0.5 × 453.59237 / 1 = 226.796 g.

You can also use it in reverse: to find how many grams are in a pound, set From = lb, To = g.

Common Mistakes and Confusions

One frequent error is confusing the troy ounce with the avoirdupois ounce. Troy ounces are used for precious metals and equal 31.1034768 g, about 10% heavier than the regular ounce. This calculator uses the international avoirdupois ounce (28.3495 g) for general use. If you are weighing gold or silver, use a troy-ounce converter.

Another mistake is mixing up mass and weight. Grams measure mass, while pounds and ounces can refer to force (weight) in some contexts. On Earth, the distinction is negligible for everyday purposes, but in physics or space, they differ. This calculator assumes standard Earth gravity.

Also, be careful with decimal places. For cooking, 1 gram difference rarely matters, but for chemistry or pharmacy, precision is critical. The calculator gives up to 6 decimal places, but you should round according to your needs.

Why Convert to Moles?

Moles are a fundamental concept in chemistry. One mole contains exactly 6.02214076 × 10²³ particles (Avogadro’s number). The molar mass of a substance (in g/mol) tells you how many grams one mole weighs. For example, carbon-12 has a molar mass of 12 g/mol, so 12 grams of carbon contains one mole of atoms. Converting grams to moles is essential for stoichiometry, preparing solutions, and understanding chemical reactions. This calculator does that conversion instantly if you provide the molar mass, which you can look up on the periodic table or from a compound’s molecular formula.

Choosing the Right Unit

Which unit you should use depends on the context:

  • Milligrams – for tiny quantities: medication doses, vitamins, trace elements.
  • Grams – for everyday items: food, letters, small packages.
  • Kilograms – for heavier objects: people, luggage, groceries.
  • Ounces/Pounds – common in the US for food, body weight, and shipping.
  • Tons – for very heavy things: vehicles, industrial materials.

When in doubt, use grams – it is the standard scientific unit and easily converted to anything else.

Frequently Asked Questions

How many grams are in an ounce?

One avoirdupois ounce equals exactly 28.349523125 grams. This is the ounce used in the US customary system for food and most everyday items. For precious metals, a troy ounce is 31.1034768 g.

How do I convert grams to cups?

Grams measure mass, while cups measure volume. The conversion depends on the ingredient’s density. For water, 1 cup = 236.588 g, but for flour, 1 cup ≈ 120 g, and for sugar, 1 cup ≈ 200 g. You need a density table or a kitchen scale to convert accurately.

What is the difference between grams and milliliters?

Grams are a unit of mass; milliliters are a unit of volume. They are equal only for water (1 g = 1 mL at 4°C). For other liquids, the relationship is: mass (g) = volume (mL) × density (g/mL). For example, honey has a density of about 1.42 g/mL, so 100 mL of honey weighs 142 g.

How do I find molar mass?

Molar mass is the sum of the atomic weights of all atoms in a molecule. For example, water (H₂O) has 2 hydrogen atoms (1.008 each) and 1 oxygen atom (16.00), giving a molar mass of 18.016 g/mol. You can find atomic weights on the periodic table.

Is a gram always the same everywhere?

Yes. The gram is defined by the International System of Units (SI) as 1/1000 of the kilogram. The kilogram is defined by a fixed numerical value of the Planck constant, so a gram is exactly the same mass anywhere in the universe.

Can I convert grams to newtons?

Grams measure mass, newtons measure force. To convert, multiply the mass in kilograms by the acceleration due to gravity (9.80665 m/s² on Earth). For example, 100 g = 0.1 kg, so weight = 0.1 × 9.80665 = 0.980665 N. This calculator does not do that conversion because it depends on location.

Related

Formula used
in val | Value | - | 100 | 0
sel from | From unit | g=1, kg=1000, mg=0.001, oz=28.349523125, lb=453.59237, ton=907184.74
sel to | To unit | g=1, kg=1000, mg=0.001, oz=28.349523125, lb=453.59237, ton=907184.74
in molar | Molar mass (g/mol) | g/mol | 0 | 0
out result | Converted value | - | val * from / to | 6
out moles | Amount in moles | mol | val * from / molar | 4

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, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →