Adblocker Detected

Uh Oh! It seems you’re using an Ad blocker!

We always struggled to serve you with the best online calculations, thus, there's a humble request to either disable the AD blocker or go with premium plans to use the AD-Free version for calculators.

Disable your Adblocker and refresh your web page 😊

Molecular Formula Calculator

Molecular Formula Calculator

Molar Mass (M)


Mass of Empirical Formulas



Table of Content

Get the Widget!

Add this calculator to your site and lets users to perform easy calculations.


How easy was it to use our calculator? Did you face any problem, tell us!

Our Molecular formula calculator is exclusively programmed to calculate the molecular formula of a substance or compound based on its empirical formula.

What Is A Molecular Formula?

In the context of chemistry:

“A particular expression displaying the exact number of the atoms that are present in a molecule of a compound or a substance is known as the molecular formula”

For example:

The following table shows formula of various compounds:

Sr. #. Name Of The Substance Molecular Substance Formula
1. Glucose  \(C_{6}H_{12}O_{6}\)
2. Sodium Chloride NaCl
3. Hydrogen Peroxide \(H_{2}O_{2}\)
4. Methane  \(CH_{4}\)
5. Water \(H_{2}O\)

Molecular Expression Steps:

Let us go through the series of various steps that are crucial to find the molecular formula:

Basic Formula Involved:

$$ \text{Molecular Formula} = n\left(\text{Empirical Formula}\right) $$


$$ n = \frac{\text{Molar Mass}}{\text{Empirical Formula Mass}} $$

Note: Always keep in mind that the value of n is considered as a whole number and not any decimal number.

Here the  empirical formula to molecular formula calculator also helps you to determine the accurate substance formula by using the same relation as mentioned above.

Variables Involved:

By having a look of the formula, you will notice that two variables are used in it which are as follows:

Molar Mass:

If we divide the mass of the sample substance by its amount, we will get the molar mass of that substance.

Mass Of The Empirical Formula:

The overall mass of the simplest whole number ratio atoms in the compound is known as the mass of the empirical formula.

Inputs Conversion To Basic Units:

Here you need to calculate the basic notations of the variables involved by converting them from grams to kilograms. In case you find it difficult, tap the conversion calculator for better outcomes.

Evaluation Of The Formula:

This is the final step of all. What you need to do here is to put the values of the variables that are given. Once you put them, simplify until you get a whole number answer.

How To Calculate Molecular Formula?

Let us solve a couple of examples straight away that will clear your concept in more depth.

Example # 01:

Empirical formula of a compound of the boron and hydrogen is \(BH_{4}\). Its molar mass is 31.2 g/mol. How to calculate the molecular compound formula?


As we know that:

$$ \text{Empirical Formula Mass} = 10.811+1.008+1.008+1.008+1.008 $$
$$ \text{Empirical Formula Mass} = 14.843 g/mol $$

Now we have to find the value of n as follows:

$$ n = \frac{\text{Molar Mass}}{\text{Empirical Formula Mass}} $$
$$ n = \frac{31.2}{14.843} $$

$$ n = 2 $$

$$ \text{Molecular Formula} = n\left(\text{Empirical Formula}\right) $$
$$ \text{Molecular Formula} = 2\left(BH_{4}\right) $$
$$ \text{Molecular Formula} = B_{2}H_{8} $$

How Molecular Formula Calculator Works?

The free empirical formula to molecular formula calculator is considered the most reliable way to find the molecular formula and is widely used by chemists worldwide. Let us guide you how to use it!


  • First of all, write down the molar mass of the compound or the substance
  • After doing so make a selection of the molecular substance from the drop down menu
  • Then, write down the empirical formula mass of the substance
  • Also, make another selection corresponding to it from the lower drop down list
  • Tap the calculate button


The free molecular formula calculator displays:

  • Simple whole number ratio n
  • Conversions of the inputs into relative base units
  • Molecular substance formula of the compound both substance
  • Step by step calculations


From the source of wikipedia: Chemical formula, Empirical formula, Condensed formula, Law of composition, Isotopes, Trapped atoms, 

From the source of khan academy: Chemical reactions, Physical and chemical changes

From the source of lumen learning: Chemical Formulas, Structural Formulas v. Empirical Formulas, Formulas of Ionic Compounds, Polyatomic Ions