Skip to content

Chemical Formula to Name Converter

Find the name of a chemical compound from its formula. Enter H2O, NaCl, or CO2 to see the compound name, drawn from a database of over 100 common compounds.

Chemical Compound Identifier

Enter a chemical formula to find its scientific name. This tool provides quick identification of common chemical compounds based on their molecular formulas.

Enter the chemical formula of the compound you want to identify. Element symbols are case-sensitive: CO is carbon monoxide, but Co is cobalt.

Examples (click to try)

Loading calculator...
📚

Documentation

What is a chemical formula to name converter?

A chemical formula to name converter is a lookup tool. It takes a chemical formula, such as H₂O or NaCl, and returns the name of the compound, such as Water or Sodium Chloride. This converter checks the formula against a built-in list of more than 100 common compounds and shows the matching name.

How the converter works

The tool does not calculate a name from scratch. It compares the text entered against a fixed list of known formulas and returns the name stored for an exact match.

  1. Format check. The input is checked against the pattern of a real chemical formula: element symbols made of one capital letter and an optional lowercase letter, each followed by an optional number, with parentheses allowed for groups such as Ca(OH)₂.
  2. Exact match. The formula is compared, character for character, to the formulas in the compound list.
  3. Name display. If a match is found, the compound name appears. If not, the tool shows a "compound not found" message.

Because the match is exact, the formula must be typed the same way it is stored, including capitalization and the order of elements.

Why element case matters

Element symbols are case-sensitive. A capital letter starts every symbol, and at most one lowercase letter can follow it. This means "CO" and "Co" are not the same thing: CO is carbon monoxide (carbon plus oxygen), while Co is the single element cobalt. The converter respects this distinction, so entering the wrong case gives the wrong result or no result at all.

How to use the converter

  1. Type a chemical formula into the input box, for example H2O, NaCl, or CO2.
  2. The compound name appears below the input as soon as a match is found.
  3. Select "Copy" to copy the name to the clipboard.
  4. Select one of the example buttons to try a formula without typing it.

Formula entry rules

  • Capitalize only the first letter of each element symbol (Na, not NA or na).
  • Write the number of atoms as a plain number after the symbol, with no subscript formatting needed (H2O, not H₂O).
  • Use parentheses for repeated groups, such as Ca(OH)2 for calcium hydroxide.
  • Do not add spaces, dots, or hydrate notation (see the FAQ below).

Chemical formula examples and their names

These are compounds stored in the converter's database. Each formula below returns the exact name shown.

FormulaName
H2OWater
NaClSodium Chloride
CO2Carbon Dioxide
C6H12O6Glucose
H2SO4Sulfuric Acid
HClHydrochloric Acid
NH3Ammonia
CH4Methane
C2H5OHEthanol
NaOHSodium Hydroxide

The full list covers roughly 100 formulas, including common acids, bases, salts, oxides, gases, and simple organic molecules such as hydrocarbons, alcohols, and sugars.

Basic rules of chemical naming

Chemists use a few standard patterns to build compound names from formulas.

  • Binary ionic compounds name the metal first, then the nonmetal with an "-ide" ending. NaCl is Sodium Chloride.
  • Compounds with polyatomic ions name the metal, then the ion name. KNO3 is Potassium Nitrate.
  • Acids are named for the ion they release in water. HCl is Hydrochloric Acid.
  • Molecular compounds between two nonmetals use prefixes (mono-, di-, tri-) to show how many atoms of each element are present. CO2 is Carbon Dioxide.
  • Metals with more than one common charge use a Roman numeral in the name, called the Stock system. FeCl3 is Iron(III) Chloride, because iron can form ions with different charges.

Some compounds keep an older common name instead of a fully systematic one. Water is the common name for H2O; the systematic name, dihydrogen monoxide, is almost never used.

Limits of this converter

The tool only recognizes formulas that are already stored in its list, written exactly as stored. It does not:

  • Break down a formula into elements and build a name from general rules. It has no logic for naming compounds outside its list.
  • Recognize hydrate notation, such as CuSO4·5H2O for copper(II) sulfate pentahydrate. The database stores plain formulas like CuSO4 only, so adding a dot and a water count returns "compound not found."
  • Convert a compound name back into a formula. It works in one direction only, from formula to name.
  • Distinguish between structural isomers that share a formula. C3H8O, for instance, could be two different alcohols; the tool returns one general name.

Frequently asked questions

What is a chemical formula? A chemical formula shows which elements make up a compound and how many atoms of each are present, using element symbols and numbers. H2O means two hydrogen atoms and one oxygen atom.

How accurate is the chemical formula to name converter? For the roughly 100 formulas in its list, the name shown is accurate. For any formula not in the list, including valid formulas for less common compounds, the tool reports "compound not found" rather than guessing.

Does the tool recognize hydrates, such as CuSO4·5H2O? No. The database stores plain formulas without hydrate notation. Entering CuSO4 returns "Copper(II) Sulfate," but adding "·5H2O" is not recognized and returns "compound not found."

Is the formula input case-sensitive? Yes. Element symbols follow strict capitalization: one capital letter, optionally followed by one lowercase letter. "CO" is carbon monoxide; "Co" is cobalt. Typing the wrong case can return no result or the wrong compound.

Can this tool convert a compound name into a formula? No. It only works in the formula-to-name direction.

What happens if a compound is not in the database? The tool shows a "compound not found" message. Checking the formula for typos, extra spaces, or incorrect capitalization often resolves this. For compounds outside the list, a chemistry reference such as PubChem may help.

References

  1. International Union of Pure and Applied Chemistry. Nomenclature of Inorganic Chemistry: IUPAC Recommendations 2005. Royal Society of Chemistry.
  2. PubChem, National Library of Medicine. https://pubchem.ncbi.nlm.nih.gov/