ratio.

Find a tool

Browse all tools and categories ↗
CHEMISTRY

Empirical and Molecular Formula Calculator

Fit a small whole-number empirical formula to entered element masses or mass percentages, with an optional molecular mass.

Enter your values

01 / INPUT
Calculated on your device

YOUR CALCULATION

Result

—

Calculation steps

Work through one step at a time or reveal the complete calculation. The steps use your current inputs.

    How to calculate

    Divide each element mass by its stored atomic weight. Normalize mole amounts by the smallest positive amount. Try small integer multipliers and reduce their common divisor. Compare an optional molecular mass with an integer formula multiple.

    Mole ratio=(element mass/atomic weight)/smallest mole amount

    Worked example

    Mass percentages near C 40.0, H 6.71 and O 53.29 fit CH2O; a molecular mass near 180.156 g/mol gives C6H12O6.

    Assumptions and input details

    Use one common mass basis and unique supported element symbols. Multipliers through twelve and empirical counts through one thousand are tested. A tolerance fit is not a unique chemical identification. Molecular-mass agreement must be within one percent.

    Using this calculator

    Can I enter my own problem?

    Yes. Replace the example values with your own inputs. The result, calculation steps, tables and applicable diagrams update from those inputs. Blank or invalid values clear the result; example values are never silently substituted for missing inputs.

    Are the results exact?

    Results use floating-point arithmetic and displayed rounding. Read the formula, assumptions and any stated data precision before interpreting the result.

    Is my input uploaded?

    The calculation runs in your browser. No account, file upload or external AI service is required. Inputs are not saved between page reloads.

    RELATED TOOL · CHEMISTRYMole Calculator

    Enter a chemical formula and mass or amount of substance. Find molar mass, moles and particle count with an element-by-element breakdown.

    RELATED TOOL · CHEMISTRYChemical Equation Balancer

    Balance a neutral chemical equation using exact element conservation. Return the smallest positive integer coefficients and an atom-count check for every element.

    RELATED TOOL · MATHEMATICSPercent Error Calculator

    Compare a measurement with a reference or calculate symmetric percentage difference between two values.

    ADVERTISEMENT

    Reserved advertising space.