Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. All processing happens entirely in your browser - your files never leave your device. No uploads, no accounts, complete privacy.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Math & Science
  3. Chemistry Calculator
Add to favorites

Chemistry Calculator

Calculate molar mass, pH, and molarity for chemistry problems

Compute the core quantities of general chemistry from one tool. Pick a mode - molar mass & composition, pH, molarity, solution dilution, stoichiometry, or the ideal gas law - enter your values, and get the answer instantly. Formulas are typed in standard notation and the parser handles subscripts and parentheses automatically.

Calculated locally in your browserMore math & scienceJump to full guide

Initializing in your browser…

You might also like

Physics Calculator

Calculate force, energy, kinematics, and power in physics

Graphing Calculator

Plot and visualize mathematical functions with multiple overlays

3D Graphing Calculator

Plot and visualize 3D mathematical functions and surfaces

A worked calculation

A lab procedure needs the molar mass of water to weigh out a solution accurately.

Formula

H2O
Chemistry Calculator produces

Molar mass

2 × 1.008 (H) + 16.00 (O) = 18.015 g/mol

The tool parses the formula, multiplies each element by its standard atomic weight, and sums, so multi-element and parenthesised formulas (like Ca(OH)₂) are handled without arithmetic slips. It also balances equations and does stoichiometry conversions.

What this calculator does

Compute the core quantities of general chemistry from one tool. Pick a mode - molar mass & composition, pH, molarity, solution dilution, stoichiometry, or the ideal gas law - enter your values, and get the answer instantly. Formulas are typed in standard notation and the parser handles subscripts and parentheses automatically.

How it works

Molar mass parses a molecular formula (including nested parentheses like Ca(OH)2), sums atomic masses from a built-in dataset of common elements, and breaks down the percent composition by element. The pH mode converts a known acid or base concentration to pH, pOH, and the hydrogen/hydroxide ion concentrations. Molarity divides moles by volume; the dilution mode solves C1V1 = C2V2 for whichever of the four quantities you leave blank. The stoichiometry mode multiplies a reactant amount by a molar ratio you supply. The ideal gas law solver rearranges PV = nRT to find P, V, n, or T, choosing the gas constant to match your chosen pressure unit (atm, kPa, or bar).

How to use

  1. 1Select the calculation mode: molar mass, pH, molarity, dilution, stoichiometry, or ideal gas law
  2. 2Enter the required inputs (chemical formula or numeric values)
  3. 3Results appear as you type or after you choose what to solve for
  4. 4Use standard element symbols; the parser handles subscripts and parentheses automatically

Key features

  • Molar mass and percent composition for valid molecular formulas
  • pH calculator (pH, pOH, [H+], [OH-]) from acid or base concentration
  • Molarity calculator (moles / volume)
  • Solution dilution solver (C1V1 = C2V2), solving for any one variable
  • Stoichiometry by molar ratio
  • Ideal gas law solver (PV = nRT) with atm, kPa, or bar units
  • Parenthetical formula parsing (e.g., Mg(OH)2)

When this is useful

  • General chemistry coursework

    Compute molar masses, pH, and stoichiometric quantities for homework and lab reports.

  • Lab preparation

    Calculate dilution volumes and molar concentrations before preparing solutions.

  • Quick reference

    Look up molar masses and percent composition without flipping through a textbook.

  • Exam review

    Practice pH, dilution, and gas law problems with instant feedback.

Frequently asked questions

How do I enter a chemical formula?

Type it in standard notation, for example H2O or Ca(OH)2. The parser normalizes capitalization and expands parentheses with subscripts.

Does it handle polyatomic ions in parentheses?

Yes. Formulas like Ca(NO3)2 are parsed correctly, including parentheses with subscripts.

What gas constant value is used?

The ideal gas law solver picks R to match your pressure unit: 0.08206 L·atm/(mol·K) for atm, 8.314 for kPa, and 0.08314 for bar. Temperature is in Kelvin.

Can it balance chemical equations?

No. This tool does not balance equations; it covers molar mass, pH, molarity, dilution, stoichiometry by molar ratio, and the ideal gas law.

Related tools and how they differ

  • Physics Calculator: Solves physics problems instead: force, energy, kinematics, power, momentum, gravity, projectile motion, and Ohm's law. Use it for mechanics and electricity, not chemistry.

Private by design

Every calculation runs locally in your browser. Your numbers and expressions are not transmitted or stored.