Bio-Tools

Molecular Weight Calculator

Compound Library
DNA Settings
RNA Settings
Protein Input Tools

Calculating molecular weight...

Molecular Weight:
0.00 Da
Copied to clipboard!
g/mol equivalent
Elemental Composition Analysis

Solution Prep & Molarity Calculator

Quickly calculate the required mass needed to prepare a solution of this substance. Simply enter your target concentration and volume.

g/mol
Need more advanced features? Try our dedicated Molarity Calculator.

Was this tool helpful?

Thanks for your feedback 😍

Used this tool in your research?

Cite it instantly and export to BibTeX, EndNote, RIS, and more.

Generate Citation
online Molecular Weight Calculator

The Molecular Weight Calculator is a simple, fast, and accurate web-based tool that computes the molecular (molar) mass of chemical compounds from their molecular formula. It accepts a broad range of formula formats, including organic, inorganic, ionic, hydrated salts, and compounds with parentheses or dot notation, and returns the mass in grams per mole (g·mol⁻¹), along with a parsed composition breakdown.

This tool is ideal for students, laboratory technicians, chemists, and anyone who needs quick, reliable molecular weights for stoichiometry, solution preparation, reaction planning, or educational purposes. Try the Molecular Weight Calculator now—type a chemical formula into the input field and press Calculate.

Key features

  • Instant calculation: Type or paste a molecular formula and receive the result immediately.
  • Biopolymer support: Calculates molecular weights for proteinDNA, and RNA sequences, as well as small molecules and salts.
  • Flexible input formats: Supports standard formula conventions including parentheses (e.g., Al2(SO4)3), dot notation for hydrates (e.g., CuSO4·5H2O), and biopolymer sequence input modes.
  • Breakdown of elements: Displays the elemental composition and the contribution (mass and percentage) of each element to the total molecular weight.
  • Standard atomic weights: Uses up-to-date IUPAC-standard atomic weights for calculations to ensure reliable results.
  • Clear output units: Results are reported in Daltons (Da), which are numerically equivalent to grams per mole (g·mol⁻¹).

How it works

  1. The calculator first determines the input type: molecular formula (e.g., C6H12O6), protein sequence, DNA sequence, or RNA sequence.
  2. Each element (for chemical formulas) or residue/nucleotide (for biopolymers) is mapped to its standard molecular or atomic mass.
  3. The tool multiplies each mass by its count or frequency and sums all contributions.
  4. The final molecular weight is reported in Daltons (Da) or equivalently g·mol⁻¹, along with a detailed composition table.

Table: Atomic Weights of Elements

Atomic Number (Z)SymbolElement NameStandard Atomic Weight (amu or g/mol)PeriodGroupChemical Category
1HHydrogen1.00811Reactive nonmetal
2HeHelium4.0026118Noble gas
3LiLithium6.9421Alkali metal
4BeBeryllium9.012222Alkaline earth metal
5BBoron10.81213Metalloid
6CCarbon12.011214Reactive nonmetal
7NNitrogen14.007215Reactive nonmetal
8OOxygen15.999216Reactive nonmetal
9FFluorine18.998217Reactive nonmetal (Halogen)
10NeNeon20.180218Noble gas
11NaSodium22.99031Alkali metal
12MgMagnesium24.30532Alkaline earth metal
13AlAluminum26.982313Post-transition metal
14SiSilicon28.085314Metalloid
15PPhosphorus30.974315Reactive nonmetal
16SSulfur32.06316Reactive nonmetal
17ClChlorine35.45317Reactive nonmetal (Halogen)
18ArArgon39.948318Noble gas
19KPotassium39.09841Alkali metal
20CaCalcium40.07842Alkaline earth metal
21ScScandium44.95643Transition metal
22TiTitanium47.86744Transition metal
23VVanadium50.94245Transition metal
24CrChromium51.99646Transition metal
25MnManganese54.93847Transition metal
26FeIron55.84548Transition metal
27CoCobalt58.93349Transition metal
28NiNickel58.693410Transition metal
29CuCopper63.546411Transition metal
30ZnZinc65.38412Transition metal
31GaGallium69.723413Post-transition metal
32GeGermanium72.630414Metalloid
33AsArsenic74.922415Metalloid
34SeSelenium78.971416Reactive nonmetal
35BrBromine79.904417Reactive nonmetal (Halogen)
36KrKrypton83.798418Noble gas
37RbRubidium85.46851Alkali metal
38SrStrontium87.6252Alkaline earth metal
39YYttrium88.90653Transition metal
40ZrZirconium91.22454Transition metal
41NbNiobium92.90655Transition metal
42MoMolybdenum95.9556Transition metal
43TcTechnetium[98]57Transition metal
44RuRuthenium101.0758Transition metal
45RhRhodium102.9159Transition metal
46PdPalladium106.42510Transition metal
47AgSilver107.87511Transition metal
48CdCadmium112.41512Transition metal
49InIndium114.82513Post-transition metal
50SnTin118.71514Post-transition metal
51SbAntimony121.76515Metalloid
52TeTellurium127.60516Metalloid
53IIodine126.90517Reactive nonmetal (Halogen)
54XeXenon131.29518Noble gas
55CsCesium132.9161Alkali metal
56BaBarium137.3362Alkaline earth metal
57LaLanthanum138.9163Lanthanide
58CeCerium140.126Lanthanide
59PrPraseodymium140.916Lanthanide
60NdNeodymium144.246Lanthanide
61PmPromethium[145]6Lanthanide
62SmSamarium150.366Lanthanide
63EuEuropium151.966Lanthanide
64GdGadolinium157.256Lanthanide
65TbTerbium158.936Lanthanide
66DyDysprosium162.506Lanthanide
67HoHolmium164.936Lanthanide
68ErErbium167.266Lanthanide
69TmThulium168.936Lanthanide
70YbYtterbium173.056Lanthanide
71LuLutetium174.9763Lanthanide
72HfHafnium178.4964Transition metal
73TaTantalum180.9565Transition metal
74WTungsten183.8466Transition metal
75ReRhenium186.2167Transition metal
76OsOsmium190.2368Transition metal
77IrIridium192.2269Transition metal
78PtPlatinum195.08610Transition metal
79AuGold196.97611Transition metal
80HgMercury200.59612Transition metal
81TlThallium204.38613Post-transition metal
82PbLead207.2614Post-transition metal
83BiBismuth208.98615Post-transition metal
84PoPolonium[209]616Metalloid
85AtAstatine[210]617Metalloid
86RnRadon[222]618Noble gas
87FrFrancium[223]71Alkali metal
88RaRadium[226]72Alkaline earth metal
89AcActinium[227]73Actinide
90ThThorium232.047Actinide
91PaProtactinium231.047Actinide
92UUranium238.037Actinide
93NpNeptunium[237]7Actinide
94PuPlutonium[244]7Actinide
95AmAmericium[243]7Actinide
96CmCurium[247]7Actinide
97BkBerkelium[247]7Actinide
98CfCalifornium[251]7Actinide
99EsEinsteinium[252]7Actinide
100FmFermium[257]7Actinide
101MdMendelevium[258]7Actinide
102NoNobelium[259]7Actinide
103LrLawrencium[266]73Actinide
104RfRutherfordium[267]74Transition metal
105DbDubnium[268]75Transition metal
106SgSeaborgium[269]76Transition metal
107BhBohrium[270]77Transition metal
108HsHassium[269]78Transition metal
109MtMeitnerium[278]79Transition metal
110DsDarmstadtium[281]710Transition metal
111RgRoentgenium[282]711Transition metal
112CnCopernicium[285]712Transition metal
113NhNihonium[286]713Post-transition metal
114FlFlerovium[289]714Post-transition metal
115McMoscovium[290]715Post-transition metal
116LvLivermorium[293]716Post-transition metal
117TsTennessine[294]717Reactive nonmetal (Halogen)
118OgOganesson[294]718Noble gas

Supported input examples

  • Simple molecules: H2O, CO2, C6H6
  • Parentheses and multipliers: Ca(OH)2, Al2(SO4)3
  • Hydrates (dot notation): CuSO4·5H2O, CoCl2·6H2O
  • Complex organics: C27H46O (cholesterol fragment example)
  • Charged species (charge is parsed but does not affect mass): NH4+, SO4^2-
  • Fractional stoichiometry for advanced users: Fe0.5O (the tool will warn and treat counts numerically)

Example calculations

  • Water (H₂O): H2O → 2 × 1.00794 + 15.999 = 18.015 g·mol⁻¹ (value shown with chosen precision)
  • Glucose (C₆H₁₂O₆): C6H12O6 → 180.156 g·mol⁻¹
  • Calcium hydroxide (Ca(OH)₂): Ca(OH)2 → 74.093 g·mol⁻¹
  • Copper(II) sulfate pentahydrate: CuSO4·5H2O → 249.685 g·mol⁻¹

Input rules and tips

  • Use proper element symbols: capital letter followed by optional lowercase (e.g., Fe, Cl, Mg).
  • Avoid spaces inside formulas; if present, they will be ignored or prompt a warning.
  • Parentheses may be nested (e.g., K4[Fe(CN)6])—the parser supports common nesting patterns, but extremely complex or malformed formulas may trigger an error.
  • For hydrates, use a middle dot (keyboard alternative: .) or a space followed by a number: CuSO4·5H2O or CuSO4 5H2O.
  • Charges can be included for clarity (e.g., NH4+), but do not change the calculated mass.

Accuracy…

The calculator uses widely accepted, standard atomic weights (IUPAC-recommended), which represent the best single-value estimate for naturally occurring elemental isotopic composition. For elements with significant isotopic variation or when a more precise isotopic composition is required (e.g., enriched isotopes), explicitly specify the isotopic masses in the input if the tool provides an advanced mode. For compounds where isotopic composition matters (research-grade work), verify results against laboratory-grade data or use isotope-specific calculation tools.

The tool reports values in g·mol⁻¹ and rounds the displayed result according to the selected precision while keeping more digits in the calculation backend.

Error handling and common warnings

The calculator includes robust validation and error handling to ensure reliable results. If an unknown element symbol is entered—one that does not correspond to any element in the periodic table (for example, Xy123)—the tool will flag the input and notify the user. In cases of a malformed formula, such as mismatched parentheses or incorrect numeric placement, a clear error message is displayed along with guidance on how to correct the structure. Additionally, when fractional stoichiometry is provided (e.g., Fe0.5O), the calculator issues a warning to confirm that the fractional values are intentional, then proceeds with a numerical calculation based on the given input.

FAQ

Meet the Authors

Mahdi Morshedi Yekta

Mahdi Morshedi Yekta

Founder & Bioinformatics Developer

Mahdi is the founder of ScienceCodons and a Medical Biotechnologist with a deep passion for computational biology. Holding an M.Sc. in Medical Biotechnology, he specializes in transforming complex biological algorithms into accessible, high-performance web tools, bridging the gap between laboratory sciences and software engineering.

Fatemeh Faryadras

Fatemeh Faryadras

Medical Biotechnologist & Researcher

Fatemeh is a Medical Biotechnologist and researcher. With extensive expertise in genetic engineering, molecular cloning, and cancer biology, she combines her rigorous laboratory background with intuitive design principles to create reliable, user-centered scientific calculators and tools.