• NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • Class 6-10
      • Class 6th
      • Class 7th
      • Class 8th
      • Class 9th
      • Class 10th
    • View All Options
      • Online Courses
      • Offline Courses
      • Distance Learning
      • Hindi Medium Courses
      • International Olympiad
    • NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE (Main+Advanced)
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE Main
      • Class 11th
      • Class 12th
      • Class 12th Plus
  • NEW
    • JEE MAIN 2025
    • NEET
      • 2024
      • 2023
      • 2022
    • Class 6-10
    • JEE Main
      • Previous Year Papers
      • Sample Papers
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • JEE Advanced
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NEET
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NCERT Solutions
      • Class 6
      • Class 7
      • Class 8
      • Class 9
      • Class 10
      • Class 11
      • Class 12
    • CBSE
      • Notes
      • Sample Papers
      • Question Papers
    • Olympiad
      • NSO
      • IMO
      • NMTC
    • ALLEN e-Store
    • AOSAT
    • ALLEN for Schools
    • About ALLEN
    • Blogs
    • News
    • Careers
    • Request a call back
    • Book home demo
NCERT SolutionsCBSE NotesCBSE Exam
Home
Science
Molecular and Ionic Compounds

Formula of Molecular And Ionic Compound

1.0Framing of Formulae of Compounds With The Help of Valency

A compound is a substance formed by the combination of atoms of two or more elements. To be able to frame formulae, one should be thorough with the valencies.

The valency of Mg = 2 and that of N = 3 and the formula is Mg3N2. So, the number of magnesium atoms is equal to the valency of Nitrogen (3), and the number of nitrogen atoms is equal to the valency of Mg (2). So, to frame this formula, write Mg and N and write their respective valencies just below them as:

Mg N

2 3

Then place 3 near Mg and 2 near N. In other words, interchange their valency numbers.

Framing Formula of Compounds

Naming of Ionic Compounds

Cation is always named 1st followed by the anion. The number of cations and anions are not written in the name. For example, Al2(SO4)3 is called aluminium sulphate and not dialuminium trisulphate.

2.0Some Ionic Compounds

S.No.

Ionic compound

Cation 

Anion

1

Sodium chloride

Sodium ion (Na+)

Chloride ion (Cl–)

2

Potassium sulphide

Potassium ion (K+)

Sulphide ion (S2–)

3

Calcium sulphate

Calcium ion (Ca2+)

Sulphate ion (SO42–)

While writing the formula of an ionic compound the metal is written on the left-hand side while the non-metal is written on the right-hand side. The name of the metal remains as such but that of the non-metal is changed to have the ending 'ide'.

For example, MgO is named magnesium oxide, KCl is named potassium chloride etc.

3.0Naming of Molecular Compounds

The ones formed by the combination between two different non-metals, are written in such a way that the less electronegative element is written on the left-hand side while the more electronegative element is written on the right-hand side. Fluorine(F), Oxygen(O), Nitrogen(N), Chlorine(Cl), Sulphur(S) are more electronegative elements. In naming molecular compounds, the name of the less electronegative non-metal is written as such but the name of the more electronegative element is changed to have the ending 'ide'.

For example, H2S is named as hydrogen sulphide.

When there is more than one atom of an element present in the formula of the compound, then the number of atoms are indicated by the use of appropriate prefixes (mono for 1, di for 2, tri for 3, tetra for 4 atoms etc.) in the name of the compound.

For example, CO2 is named as carbon dioxide, CCl4 is named as carbon tetra chloride. 

The prefixes are also needed in naming those binary compounds in which the two non-metals form more than one compound (by having different numbers of atoms).

For example, two non-metal, nitrogen and oxygen, combine to form different compounds like nitrogen monoxide (NO), nitrogen di-oxide (NO2), di-nitrogen tri-oxide (N2O3) etc.    

But, if two non-metals form only one compound, then prefixes are not used in naming such compounds. For example, Hydrogen and sulphur combine to form only one compound H2S, So, H2S is named as hydrogen sulphide and not hydrogen monosulphide.

4.0Writing the Formula of Molecular Compound

Steps

The steps to be followed for writing the formula of molecular compound are 

1. First, write the symbols of the elements contributing to the compound. As a convention, the less electronegative element is written on the left-hand side while the more electronegative element is written on the right-hand side.

2. Then, below each symbol, write its corresponding valency.

3. Finally, we exchange the valencies of the combining atoms that is, with first atom, we write the valency of the second atom and with second atom, we write the valency of the first atom, the valencies are to be written as subscripts to the symbols. 

4. If the valencies have any common factor, then the formula is divided by the common factor. This gives the required formula of the compound.

For example, to work out the formula of hydrogen sulphide. 

(1) Hydrogen sulphide compound is made up of hydrogen and sulphur elements. So, first we write down the symbol of hydrogen and sulphur.

(2) The valency of hydrogen is 1 and the valency of sulphur is 2. So, below the symbol H, we write 1 and below the symbol S, we write 2.

Symbol H S

Valencies 1 2

Cross Over Valencies

Cross-over valencies

5. We now cross-over the valencies of H and S atoms. With the H atom, we write the valency of S (which is 2) so that it becomes H2. With the S atom, we write the valency of H (which is 1) so that it becomes S1.  Now, joining together H2 and S1 the formula of hydrogen sulphide becomes H2S1 or H2S (This is because we don't write the subscript 1 with an atom in a formula).

5.0Points to Remember For Writing Chemical Formula

When the subscript is 1, it is ignored.

The compound radical is written in parenthesis when the subscript is 2 or greater.

Whenever possible, subscripts are simplified by dividing by the highest common factor (HCF).

6.0Writing the Formula of Ionic Compound

Steps

1. First, write the symbols of the ions from which the ionic compound is made. As a convention, the cation is written on the left side while the anion is written on the right side. 

2. Then, the valencies of the respective cation and anion are written below their symbols. 

3. The valencies of the cation and anion are exchanged. The number of cations and anions in the formula of the compound are adjusted in such a way that total positive charge of cation becomes equal to the total negative charge of the anion making the ionic compound electrically neutral. 

4. The final formula of the ionic compound is then written but the charges present on the cation and the anion are not shown.

Note : In the formula of the compound, the valency '1' is normally omitted. For example, NH3 and not as N1H3. In case there is some common factor in the formula, it has to be taken out. For example, CO2 in place of C2O4 is used.

For example,

(a) Molecular compounds

Molecular Compounds

(b) Ionic compounds

Ionic Compounds

Significance of Molecular Formula of A Substance

(i) It tells the name of the substance.

(ii) It tells about the names of the different elements present in the substance.

(iii) It represents one molecule of the substance.

(iv) It tells about the number of atoms of each element present in 1 molecule of substance.

(v) It tells about the atomicity of the substance.

7.0Chemical Formula of Some Compounds

Chemical Formula of Some Compounds

8.0 Also Read

What is Air Pollution?

Solution And Its Components

Chemical Reaction and Equation

Oxygen

Colloidal Solution

Types of Chemical Reactions

Benzoyl Peroxide

Separating The Components of A Mixture

Corrosion

Table of Contents


  • 1.0Framing of Formulae of Compounds With The Help of Valency
  • 1.1Naming of Ionic Compounds
  • 2.0Some Ionic Compounds
  • 3.0Naming of Molecular Compounds
  • 4.0Writing the Formula of Molecular Compound
  • 5.0Points to Remember For Writing Chemical Formula
  • 6.0Writing the Formula of Ionic Compound
  • 6.1Significance of Molecular Formula of A Substance
  • 7.0Chemical Formula of Some Compounds
  • 8.0 Also Read

Frequently Asked Questions

A molecule is the smallest unit of a substance that can exist independently and maintain its chemical properties. A molecular compound is formed by the sharing of electrons between two or more non-metals. An ionic compound is formed by the transfer of electrons from a metal to a non-metal. This results in the formation of charged ions (cations and anions) that are attracted to each other by electrostatic forces.

To write the formula of a molecular compound, you need to follow these steps: Identify the elements present in the compound. Write the symbols of the elements side-by-side. Determine the valency of each element. Crisscross the valencies of the elements. Simplify the subscripts by dividing by the greatest common factor (GCD) if necessary.

To write the formula of an ionic compound, you need to follow these steps: Identify the cation and anion that make up the compound. Write the symbol of the cation first, followed by the symbol of the anion. Crisscross the charges of the cation and anion to get the subscripts for each ion. Simplify the subscripts by dividing by the GCD if necessary. Remove any charges from the final formula.

The molecular formula of a substance tells you several important things, including: The name of the substance The elements present in the substance The number of atoms of each element in one molecule of the substance The atomicity of the substance (the number of atoms in a single molecule)

Join ALLEN!

(Session 2025 - 26)


Choose class
Choose your goal
Preferred Mode
Choose State
  • About
    • About us
    • Blog
    • News
    • MyExam EduBlogs
    • Privacy policy
    • Public notice
    • Careers
    • Dhoni Inspires NEET Aspirants
    • Dhoni Inspires JEE Aspirants
  • Help & Support
    • Refund policy
    • Transfer policy
    • Terms & Conditions
    • Contact us
  • Popular goals
    • NEET Coaching
    • JEE Coaching
    • 6th to 10th
  • Courses
    • Online Courses
    • Distance Learning
    • Online Test Series
    • International Olympiads Online Course
    • NEET Test Series
    • JEE Test Series
    • JEE Main Test Series
  • Centers
    • Kota
    • Bangalore
    • Indore
    • Delhi
    • More centres
  • Exam information
    • JEE Main
    • JEE Advanced
    • NEET UG
    • CBSE
    • NCERT Solutions
    • NEET Mock Test
    • Olympiad
    • NEET 2025 Answer Key

ALLEN Career Institute Pvt. Ltd. © All Rights Reserved.

ISO