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. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

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

Molar mass, equation balancing, pH and pOH, molarity, dilution and the ideal gas law, using IUPAC 2021 atomic weights for all 118 elements.

Calculated locally in your browserMore math & scienceJump to full guide

Initializing in your browser…

You might also like

3D Graphing Calculator

Plot 3D surfaces from z = f(x, y), polar z = f(r, theta) or parametric formulas, rotate them by mouse or touch, and export STL or OBJ for 3D printing.

Physics Calculator

Force, energy, motion, projectiles, collisions, gravitation, circuits, waves, heat and relativity, with each answer checked and every constant labelled with its source.

Graphing Calculator

Plot up to eight functions of x, find their roots, turning points and intersections, shade integrals and draw derivatives. Pan, zoom and share any graph.

A worked calculation

You need 250 mL of 0.100 M copper(II) sulfate and the bottle on the shelf is the blue pentahydrate, CuSO4·5H2O.

Formula

CuSO4.5H2O
What Chemistry Calculator produces

Molar mass and composition

Molar mass 249.677 g/mol (read as CuH10O9S, 21 atoms)
Possible range 249.6747 to 249.7010 g/mol
O 57.67%   Cu 25.45%   S 12.84%   H 4.04%

The five waters of crystallisation are part of what you weigh, so the molar mass to use is 249.677 g/mol, not the 159.6 g/mol of anhydrous copper sulfate. 250 mL of 0.100 M needs 0.0250 mol, which is 0.0250 × 249.677 = 6.24 g of the blue crystals. The small range comes from sulfur, oxygen and hydrogen, whose atomic weights IUPAC gives as intervals.

What this calculator does

Seven everyday chemistry calculations on one page: molar mass and percent composition from a formula, balancing chemical equations, pH and pOH, molarity, dilutions, the ideal gas law and a searchable table of atomic weights for all 118 elements.

How it works

Molar mass from a formula. Type a formula such as C6H12O6, Ca(OH)2, K4[Fe(CN)6] or the hydrate CuSO4.5H2O and the molar mass appears straight away, with the number of atoms, the mass each element contributes and the percent composition by mass. Charges such as SO4^2- are accepted. Capital letters matter, since CO is carbon monoxide and Co is cobalt. The atomic weights are the IUPAC 2021 standard values. For fourteen elements, including hydrogen, carbon, oxygen and chlorine, IUPAC gives a range rather than a single number because the isotope mix varies with the source, so the tool also shows the possible range of the molar mass. Radioactive elements use the mass number of their longest-lived isotope.

Balancing equations. Enter the reactants and products, such as C3H8 + O2 -> CO2 + H2O, and the tool finds the smallest whole-number coefficients: C3H8 + 5O2 → 3CO2 + 4H2O. It then counts every element on both sides of the answer and shows the table, along with the total mass and, for ionic equations, the charge on each side. If an equation can be balanced in more than one independent way, which usually means two reactions have been written as one, it says so.

pH that holds up at low concentration. For a strong acid or base the tool solves the charge balance of the solution rather than taking -log10 of the concentration. The two agree for ordinary concentrations, but for 0.00000001 mol/L hydrochloric acid the shortcut gives pH 8, which would make an acid alkaline, while the correct value is 6.9783. You can also set the temperature from 0 to 100 °C: the ionic product of water changes with temperature, so neutral water is pH 7.000 at 25 °C but 6.810 at 37 °C.

Solutions and gases. Molarity mode turns an amount of solute and a volume of solution into a concentration, and with a formula it also gives the mass to weigh out. Dilution mode solves C1V1 = C2V2 for whichever value you leave out and tells you how much solvent to add. The ideal gas mode solves PV = nRT for pressure, volume, amount or temperature, in atm, kPa, bar or Torr, with the temperature in kelvin or Celsius. It uses the exact value of the gas constant fixed by the 2019 SI, so one mole at 0 °C and 1 atm occupies 22.41397 L.

Checked on every answer. Percent compositions add to 100, balanced equations are recounted, pH and pOH add to pKw, C1V1 is compared with C2V2 and PV with nRT, all on the numbers shown. Impossible inputs, such as a temperature below absolute zero or a dilution that would make a solution stronger, are explained instead of producing a meaningless number. Everything runs in your browser.

Examples

  • Glucose

    C6H12O6 has a molar mass of 180.156 g/mol, of which oxygen makes up 53.28 percent by mass.

  • Burning propane

    C3H8 + O2 -> CO2 + H2O balances to C3H8 + 5O2 → 3CO2 + 4H2O, with 3 carbon, 8 hydrogen and 10 oxygen atoms on each side.

  • A dilution

    To dilute 50 mL of 2 M stock to 0.5 M, the final volume is 200 mL, so add 150 mL of solvent: a 4-fold dilution.

How to use

  1. 1Choose a calculation: molar mass, balance, pH, molarity, dilution, ideal gas or atomic weights.
  2. 2Type a formula or equation, or tap one of the examples to see how it works.
  3. 3For the numeric modes, fill in the known values. In dilution and ideal gas mode, first pick which value to solve for.
  4. 4Read the answer at the top of the result, then the checks underneath it.
  5. 5Use the copy button to take the molar mass or balanced equation elsewhere, or Share for a link to the same calculation.

Key features

  • Molar mass and percent composition for formulas with brackets, hydrates and charges
  • IUPAC 2021 standard atomic weights for all 118 elements, with intervals shown as ranges
  • Equation balancing with whole-number coefficients and an element-by-element check
  • Mass and charge balance shown for every balanced equation
  • pH, pOH and [H⁺] for strong acids and bases, correct even for very dilute solutions
  • Temperature-dependent neutral pH from 0 to 100 °C
  • Molarity with the mass of solute to weigh out
  • Dilution solved for any of C1, V1, C2 or V2, with the solvent to add
  • Ideal gas law in atm, kPa, bar or Torr with the exact gas constant
  • Searchable table of atomic weights, uncertainties and intervals

Tips & best practices

  • Write hydrates with a dot, as in CuSO4.5H2O, and charges with a caret, as in SO4^2- or NH4^+.
  • In dilution mode use the same units for both concentrations and both volumes; the formula does not care which units they are.
  • For gas problems at room temperature, switch the temperature unit to °C and type 25 rather than converting to kelvin yourself.
  • If an equation will not balance, check that every product contains only elements that appear among the reactants.

When this is useful

  • Preparing solutions in the lab

    Find the molar mass of a reagent, the grams needed for a given molarity, and how to dilute a stock solution to the strength you need.

  • Chemistry homework

    Balance equations, check molar masses and work through gas-law problems with every step verified.

  • Teaching acids and bases

    Show why pH 7 means neutral only at 25 °C, and why a very dilute acid can never be alkaline.

  • Quick reference

    Look up an atomic weight, see whether IUPAC gives it as an interval, and check its uncertainty.

Frequently asked questions

Which atomic weights does it use?

The IUPAC standard atomic weights published in 2021. Where IUPAC gives an interval, as it does for hydrogen, lithium, carbon, oxygen, chlorine and nine other elements, the conventional single value is used for the main answer and the full range of the molar mass is shown underneath.

Why does the molar mass of water show a range?

Because hydrogen and oxygen are interval elements: their isotope mix, and so their average atomic weight, varies slightly depending on where the sample came from. With the conventional values water is 18.015 g/mol, and the possible range is 18.0147 to 18.0160 g/mol.

Why is the pH of very dilute acid not 8?

For 10⁻⁸ mol/L hydrochloric acid, -log10 of the concentration gives 8, which would be alkaline. Pure water already contains about 10⁻⁷ mol/L of H⁺ ions, more than the acid adds, so the real pH is just below 7. The tool solves the charge balance, which gives 6.9783.

Why is neutral pH not always 7?

Neutral means equal amounts of H⁺ and OH⁻, which happens at half of pKw. pKw is 14.00 at 25 °C but falls as water warms: at 37 °C it is 13.62, so neutral water there has pH 6.81. Set the temperature to see this.

Can it handle weak acids?

No. The pH mode treats the solute as a strong acid or base that dissociates completely, such as HCl or NaOH. A weak acid such as acetic acid needs its Ka as well, which this mode does not take.

What value of R is used?

The exact value fixed by the 2019 SI, 8.31446261815324 J/(mol·K), converted exactly into L·atm, L·kPa, L·bar or L·Torr. Rounded values such as 0.0821 shift answers in the fourth significant figure.

How do I enter a charged ion?

Add the charge after a caret: SO4^2-, NH4^+, Fe^3+. In balance mode charges are balanced along with the atoms, so MnO4^- + Fe^2+ + H^+ -> Mn^2+ + Fe^3+ + H2O comes out as MnO4^- + 5Fe^2+ + 8H^+ → Mn^2+ + 5Fe^3+ + 4H2O, with a charge of 17 on each side.

Related tools and how they differ

  • Physics Calculator: Use it for mechanics, energy, waves and electricity problems with the constants named.
  • Equation Solver: Use it to solve the quadratic that comes out of an equilibrium or weak-acid problem.
  • Unit Converter: Use it to convert between pressure, volume and temperature units before or after a gas-law calculation.

Private by design

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