Chemistry Calculator

Use this Chemistry Calculator to solve common lab and classroom problems in one place—molarity and molality for solution prep, dilution with C1V1 = C2V2, pH/pOH from ion concentration, the ideal gas law PV = nRT, and percent composition by mass. Switch modes to see the right inputs, formula notes, and step-by-step working automatically. For broader tools, browse All Calculators or explore more in Scientific Calculators. Need a closely related tool? Try the molar mass calculator when you’re converting grams to moles.

Last Updated: January 21, 2026
Accuracy & Method: Runs locally in your browser (no server calls)
Privacy-first: Your inputs stay on your device

Chemistry Calculator Tool

Mode

Compute molarity from moles and solution volume. (Default assumption: volume is the final solution volume.)

Molarity Calculator

Default assumption: V is the final solution volume. Convert mL to L automatically if selected.

mol
Rounding: default 4 significant figures (shown in results).

Results

Select a mode above, enter your values, then click Calculate. Your results will appear here with steps, interpretation, and a small visual.

Precision policy: results are shown to 4 significant figures by default to balance readability and lab usefulness. If you need more precision, keep extra digits in intermediate steps and round at the end.

How It Works (Formulas & Variables)

This page combines several frequently used chemistry equations into one consistent workflow: you pick a mode, enter known quantities, and the calculator shows the rearranged formula, substitutions, and the final value. For more tools in this category, see the unobtrusive hub line: Explore more in Scientific Calculators.

Molarity (M)

M = n / V where n is moles of solute (mol) and V is solution volume in liters (L). If you enter mL, the tool converts to L before computing.

Molality (m)

m = n / (kg solvent) where n is moles of solute and the denominator is the mass of solvent in kilograms. This helps when temperature changes affect volume but not mass.

Dilution (C1V1 = C2V2)

C1V1 = C2V2 relates initial and final concentration/volume when the amount of solute stays constant. Rearranged forms: V1 = (C2V2)/C1 or C2 = (C1V1)/V2.

pH / pOH

pH = −log10[H+] and pOH = −log10[OH−]. At 25°C, a common approximation is pH + pOH = 14. This tool uses that relationship as a standard classroom baseline.

Ideal Gas Law (PV = nRT)

PV = nRT connects pressure P, volume V, moles n, temperature T, and the gas constant R. Choose an R system and the calculator converts units to match.

Percent Composition by Mass

For each component: % = (mass_component / mass_total) × 100. This is useful for mixtures, empirical composition checks, and reporting mass fractions clearly.

Rounding / Precision Policy

Display rounding uses 4 significant figures by default. For lab reports, keep more digits during intermediate calculations, then round the final reported result to your required significant figures.

Use Cases

  • Chemistry class homework: verify molarity, molality, pH/pOH, and PV=nRT rearrangements with a clear substitution trail.
  • Lab solution preparation: calculate target molarity and dilution volumes when making standards or serial dilutions.
  • Titration planning: estimate dilution steps and concentration changes to land within a measurable endpoint range.
  • Buffer checks (quick sanity): use ion concentration readings to estimate pH/pOH and interpret acidic/neutral/basic regions.
  • Gas experiments: compute temperature, pressure, or volume shifts while keeping units consistent and documented.

Examples (Worked)

Example 1: Molarity

Inputs: n = 0.250 mol, V = 500 mL. Convert 500 mL → 0.500 L. Then M = n/V = 0.250 / 0.500 = 0.500 mol/L. Final: 0.5000 M.

Example 2: Dilution (Solve for V1)

Inputs: C1 = 2.00 M, C2 = 0.500 M, V2 = 100 mL. Rearrange: V1 = (C2·V2)/C1 = (0.500×100 mL)/2.00 = 25.0 mL. Final: V1 = 25.0 mL.

Example 3: pH from [H+]

Input: [H+] = 1.0×10−3 mol/L. Compute pH = −log10(1.0×10−3) = 3.00. Then pOH = 14 − pH = 11.00 (25°C approximation). Interpretation: acidic.

Common Mistakes

  • For molarity, using mL directly without converting to liters (this tool converts when you select mL).
  • For molality, entering solution mass instead of solvent mass (molality uses kg of solvent).
  • Mixing concentration units in dilution (C1 and C2 must be in the same unit system, e.g., both in M).
  • Entering zero or negative volumes/pressures (physically invalid and rejected by validation).
  • Using pH from [H+] for weak acids without an equilibrium model (requires Ka and ICE table methods).

Quick Tips

  • Round only at the end of a multi-step workflow to preserve accuracy in lab calculations.
  • For dilution, keep volumes in the same unit (mL or L) to reduce transcription mistakes—this tool converts internally.
  • For gas law, always convert temperature to Kelvin for computations (°C is converted automatically).
  • Use percent composition to spot-check mixture mass splits—percent bars should sum to ~100%.
  • For pH/pOH, scientific notation (e.g., 2.5e-5) is often the cleanest way to enter small concentrations.

FAQ

What is the difference between molarity and molality?

Molarity (M) is moles of solute per liter of solution, so it depends on the total solution volume. Molality (m) is moles of solute per kilogram of solvent, so it depends on solvent mass rather than volume. Because volume can expand or contract with temperature, molality is often preferred in thermodynamics and colligative property calculations. For solution preparation at room conditions, molarity is commonly used because volumetric glassware measures liters directly.

When should I use the dilution equation C1V1 = C2V2?

Use C1V1 = C2V2 when you are diluting a solution by adding solvent and the amount of solute stays the same. It works well for making standards, preparing working solutions from a concentrated stock, and performing serial dilutions. Make sure your concentration units are consistent (both in M, for example) and that volumes are in compatible units (mL or L). The calculator will convert mL to L internally when needed, but the equation itself assumes the same unit system.

How do I convert mL to L in concentration calculations?

The conversion is straightforward: 1000 mL equals 1 L. To convert from mL to L, divide by 1000. For example, 250 mL becomes 0.250 L. This matters most in molarity because M is defined as mol/L. If you accidentally use 250 as liters instead of 0.250 liters, your molarity will be off by a factor of 1000. In this calculator, selecting “mL” triggers an automatic conversion step that is shown in the breakdown so you can verify the unit handling.

Is pH always based on 25°C? What changes with temperature?

Many introductory problems use 25°C because the ionic product of water (Kw) at that temperature makes the common approximation pH + pOH = 14. In reality, Kw changes with temperature, so the “neutral” pH is not always exactly 7.00 at temperatures far from 25°C. This calculator keeps the standard 25°C relationship as a practical baseline, and it lets you enter a temperature to record context, but it does not compute a temperature-dependent Kw model. For rigorous work, use data tables or a dedicated equilibrium approach.

What units should I use for R in PV = nRT?

The gas constant R must match the pressure and volume units you use. A popular classroom pairing is R = 0.082057 (atm·L)/(mol·K) with pressure in atm and volume in liters. Another common pairing is R = 8.314 (kPa·L)/(mol·K) with pressure in kPa and volume in liters. Temperature must be in Kelvin in both cases. In this calculator, you choose an R system in Advanced options, and then the tool converts pressure/volume/temperature as needed and shows the converted internal values in the steps.

Can I use this calculator for weak acids/bases pH?

This pH mode is designed for situations where you already know the hydrogen-ion concentration [H+] or hydroxide-ion concentration [OH−], such as measurements, strong acid/base approximations, or problems that provide ion concentrations directly. Weak acids and bases usually require an equilibrium calculation using Ka or Kb, often with an ICE table and approximations that depend on concentration. If you only know the initial weak acid concentration and Ka, you should solve the equilibrium first to find [H+], then you can use this tool to convert [H+] into pH and interpret where it falls on the 0–14 scale.

How do I interpret percent composition results?

Percent composition by mass tells you what fraction of the total mass comes from each component. If a component is 35%, it contributes 35 g of every 100 g of total mass. In mixtures, this helps with formulation and reporting mass fractions. In compounds or sample analysis, it can help compare measured composition to a theoretical expectation. The calculator shows a bar for each component and the bars should add up to about 100%. If they don’t, check that you entered all components and that masses are in the same unit (grams).

What rounding is used and how can I increase precision?

The displayed results use a default of 4 significant figures for readability and typical chemistry reporting. Internally, calculations are performed with normal floating-point precision, and the steps show intermediate values so you can trace what happened. If you need higher precision, keep extra digits from your measurements or intermediate calculations and round only once at the end. You can also copy the full summary and manually adjust the number of significant figures based on your instrument uncertainty or lab instructions. When in doubt, follow your course or lab’s reporting standard.

Sources & References

  • IUPAC Gold Book (definitions of concentration terms like molarity and molality).
  • Standard General Chemistry textbooks (e.g., solution chemistry, acid–base, and gas laws chapters).
  • NIST Chemistry WebBook (reference data context for chemistry concepts and constants).

References are provided for standard formulas and terminology; this calculator does not fetch external data.

More Helpful Calculators

🚧
Coming Soon

This calculator is being built.

×