QuickToolbox

Molecular Formula Calculator

Find the molecular formula from an empirical formula and the measured molar mass of the compound.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

n = molar mass / empirical formula mass; molecular formula = empirical formula x n

Frequently asked questions

Why do two compounds share an empirical formula?

Acetylene C2H2 and benzene C6H6 both reduce to CH.

What if n is not whole?

Check the molar mass. Small differences are normal, but a gap is an error.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools