Printed from https://www.webqc.org

Lewis Structure Generator

Lewis structure of H3B3O6 (Metaboric acid):

Lewis Structure
Metaboric acid (H3B3O6) - Lewis structure

Elemental composition of H3B3O6
ElementSymbolAtomic weightAtomsMass percent
HydrogenH1.0079432.3003
BoronB10.811324.6727
OxygenO15.9994673.0270

Related
Molecular weight calculator
3D molecular structure

Generating Lewis structures

To generate a Lewis structure diagram enter its chemical formula and click 'Generate'. In chemical formula you may use:
  • Any chemical element. Capitalize the first letter in chemical symbol and use lower case for the remaining letters: Ca, Fe, Mg, Mn, S, O, H, C, N, Na, K, Cl, Al.
  • Functional groups: D, T, Ph, Me, Et, Bu, AcAc, For, Tos, Bz, TMS, tBu, Bzl, Bn, Dmg
  • parenthesis () or brackets [].
  • Common compound names.
Examples of Lewis structures: H2O, CO2, CH4, NH3, HCl, H2S, SO2, SO3, H2SO4, H2SO5, S8, methane, ammonia, water, carbon dioxide.

Lewis structure generator displays molecular structure diagrams for chemical compounds.

What is a Lewis structure?

A Lewis structure (also called Lewis dot formula) is a diagram that shows the bonding between atoms and the lone pairs of electrons in a molecule. Bonds are shown as lines between atoms: a single line for a single bond, double line for a double bond, and a triple line for a triple bond. Lone pairs are shown as a pair of dots next to the atom. For a radical, a free electron is shown as a single dot.

How to create a Lewis dot structure?

Here's a detailed step-by-step guide on how to draw a Lewis dot structure using CO₂ (carbon dioxide) as an example:

Step 1: Count the total number of valence electrons

For CO₂: Carbon has 4 valence electrons, each Oxygen has 6 valence electrons.
Total valence electrons = 4 + (2 × 6) = 16 electrons

Step 2: Determine the central atom

The central atom is usually the least electronegative atom (excluding hydrogen). Carbon is less electronegative than oxygen, so carbon is the central atom.

Diagram showing carbon atom in the center with two oxygen atoms on either side

Step 3: Draw single bonds between central atom and surrounding atoms

Connect carbon to each oxygen with a single bond. Each single bond uses 2 electrons.
Electrons used so far: 2 bonds × 2 electrons = 4 electrons
Remaining electrons: 16 - 4 = 12 electrons

Diagram showing carbon bonded to two oxygen atoms with single bonds, representing 4 electrons used

Step 4: Add lone pairs to outer atoms

Complete the octet for each oxygen atom by adding lone pairs. Each oxygen needs 8 electrons total.
Each oxygen already has 2 electrons from bonding, so each needs 6 more electrons (3 lone pairs).
Electrons used: 4 (bonds) + 12 (lone pairs) = 16 electrons

Diagram showing each oxygen atom with three lone pairs of electrons around them, completing their octets

Step 5: Check if central atom has complete octet

Carbon currently has only 4 electrons (2 bonds). It needs 8 electrons to complete its octet.
Since we've used all 16 valence electrons, we need to form double bonds.

Final Lewis structure of CO₂ showing carbon double bonded to each oxygen atom, with each oxygen having two lone pairs

Step 6: Verify the Lewis structure

Check that:
• All atoms have complete octets (or duet for hydrogen)
• The total number of electrons used equals the total valence electrons
• The most stable structure is achieved (lowest formal charges)

Lesson on generating Lewis dot structure

Please let us know how we can improve this web app.
Menu Balance Molar mass Gas laws Units Chemistry tools Periodic table Chemical forum Symmetry Constants Contribute Contact us
How to cite?