FOUNDATIONS OF CHEMISTRY

Self-paced · free & open · one continuously-expanding course

Interactive

Chemistry toolkit

Twenty calculators. Twelve cover the arithmetic that comes up every week in this course; eight more, each marked "beyond this course's own scope," reach into the equilibrium, acid–base, kinetics, electrochemistry, nuclear, and organic-chemistry vocabulary the glossary opens into past Module 14 — including a full titration-curve grapher. Each one shows the substitution and the working, not just an answer — use it to check work you have done by hand, never to skip doing it. Open "How this works" on any card for the method behind it. Related pages: the study toolkit for the full formula sheet and the quick reference for constants and rules.

Molar mass calculator

Enter a chemical formula — parentheses, hydrates with · or *, and trailing charges are fine (e.g. Ca(OH)2, CuSO4·5H2O, Fe2(SO4)3).

How this works

The formula is parsed into a count of each element (parentheses and hydrate dots multiply the group that follows). Each count is multiplied by that element's standard atomic weight and the products are summed. Mass percent of an element is its subtotal divided by the total. This value is the grams in one mole of the substance — divide a mass by it for moles, multiply moles by it for mass. See molar mass.

Empirical formula from percent composition

Enter each element and its mass percent (they should total ≈100). Returns the empirical formula and its molar mass.

How this works

Assume a 100 g sample so each percent is a mass in grams. Divide each mass by the element's atomic weight to get moles, then divide every mole value by the smallest of them. If the ratios are not already close to whole numbers, they are scaled by a small factor (×2, ×3 …) and rounded, then reduced by their greatest common divisor. Dividing a measured molar mass by the empirical-formula mass gives the multiplier to the molecular formula.

Mass ↔ moles ↔ particles

Give a molar mass and any one quantity; the other two are filled in. Particles counted with the Avogadro constant.

How this works

Everything routes through amount in moles: n = m ÷ M from a mass, or n = N ÷ Nₐ from a particle count. From n the tool computes mass (n × M) and particle count (n × 6.02214076 × 10²³). This is the central conversion behind every stoichiometry problem.

Equation balancer

Type a skeleton equation with a single arrow, e.g. C3H8 + O2 -> CO2 + H2O. Parentheses are fine; states and charges are ignored.

How this works

Each species is parsed into an element-count vector. Requiring every element (and total atoms) to be conserved gives a system of linear equations in the unknown coefficients; the tool row-reduces it with exact fraction arithmetic, takes the one free parameter, clears denominators, and divides by the greatest common divisor to get the smallest whole-number coefficients. Only coefficients are ever changed — never a subscript. See coefficient and chemical equation.

Dilution (C₁V₁ = C₂V₂)

Leave exactly one field blank and fill the other three. Concentrations in any consistent unit; volumes in any consistent unit.

How this works

Adding solvent does not change the moles of solute, so C₁V₁ (moles in the aliquot taken) equals C₂V₂ (moles in the final solution). The tool rearranges this for whichever variable you left blank. Units only need to be consistent on each side. See dilution and molarity.

Ideal gas law (PV = nRT)

Leave one field blank. Units are fixed: P in atm, V in litres, n in moles, T in kelvin. R = 0.082057 L·atm·mol⁻¹·K⁻¹.

How this works

PV = nRT treats the gas as an ideal gas — point particles with no attractions. The tool solves for the blank field with R = 0.082057 L·atm·mol⁻¹·K⁻¹, so temperature must be in kelvin (add 273.15 to °C) and pressure in atm. Real gases follow this within about 1% near room conditions.

Calorimetry (q = mcΔT)

Leave exactly one field blank and fill the other three. Heat released or a temperature drop should be entered as negative.

How this works

q = mcΔT relates a heat transfer to a substance's mass, its specific heat capacity, and the resulting temperature change, ΔT = T_final − T_initial. The tool solves for whichever field is left blank. Mass and specific heat are always positive; q and ΔT carry a sign — negative means heat is released or the temperature drops. Water's specific heat, 4.184 J g⁻¹ °C⁻¹, is worth memorising since it appears in almost every calorimetry problem this course sets. See calorimetry and Module 8.

pH · pOH · [H⁺] · [OH⁻]

Enter any one value at 25 °C; the other three follow from pH + pOH = 14 and [H⁺][OH⁻] = 1.0 × 10⁻¹⁴.

How this works

From any one input the tool finds pH, using pH = −log[H⁺], pOH = −log[OH⁻], and the water equilibrium pH + pOH = 14 at 25 °C. Then [H⁺] = 10^(−pH) and [OH⁻] = 10^(−pOH). Each whole pH unit is a tenfold change in [H⁺]. See pH, acid, and base.

Percent yield

Enter the actual (measured) yield and the theoretical yield in the same units.

How this works

Percent yield = actual ÷ theoretical × 100%. The theoretical yield comes from a stoichiometry calculation on the limiting reactant; the actual yield is what you recover and weigh. A value above 100% means impure or incompletely dried product. See percent yield.

Unit converter

Pressure, energy, and temperature conversions common to first-semester chemistry.

How this works

Pressure and energy conversions go through an SI base unit (pascals, joules): the input is multiplied by the "from" factor and divided by the "to" factor. Temperature is handled separately through kelvin, because those scales have offsets, not just different sizes.

Significant figures

Count the significant figures in a measurement, or round it to a chosen number of them.

How this works

Non-zero digits always count; zeros between non-zero digits count; leading zeros never count; trailing zeros count only when a decimal point is written. The tool applies these rules to the digits you enter, and can also round to a chosen number of significant figures. See significant figures.

Scientific notation

Convert a decimal number to a × 10ⁿ form, keeping a chosen number of significant figures.

How this works

The exponent is the power of ten that puts the decimal point after the first non-zero digit — positive for numbers ≥ 10, negative for numbers < 1. The coefficient is then rounded to the requested number of significant figures.

Cell potential (E°cell)

Beyond this course's own scope. Enter two half-reactions' standard reduction potentials — look them up on the quick reference's standard reduction potentials table — to find a galvanic cell's voltage and whether it runs spontaneously as written.

How this works

E°cell = E°cathode − E°anode. The more positive of the two half-reactions is always the cathode; the tool doesn't assume which one you'll enter first. A positive E°cell means the reaction is spontaneous as written — the same fact a negative Gibbs free energy states, related by ΔG° = −nFE°cell (F = 96,485.332 C/mol). Give the number of electrons transferred, n, to see that ΔG° value too. Look up half-reaction potentials on the standard reduction potentials table.

Reaction quotient vs. K

Beyond this course's own scope. Enter a reaction quotient Q and an equilibrium constant K to see which direction the reaction still has left to run.

How this works

Q and K are the identical ratio of products to reactants — K is that ratio locked in at equilibrium; Q is the same ratio evaluated at whatever concentrations exist right now. Q < K means there aren't yet enough products, so the reaction runs forward; Q > K means there are too many, so it runs in reverse; Q = K means it has already arrived. See reaction quotient and equilibrium constant.

Buffer pH (Henderson–Hasselbalch)

Beyond this course's own scope. Leave exactly one field blank and fill the other three to solve a buffer's pH, pKa, or either concentration.

How this works

pH = pKa + log([A⁻]/[HA]) rearranges a weak acid's own equilibrium expression so a buffer's pH follows directly from its acid's pKa (−log Ka) and the ratio of conjugate base to weak acid actually present, without re-deriving the full equilibrium each time. Equal amounts of acid and base put pH exactly at pKa, since log(1) = 0. See Henderson–Hasselbalch equation and buffer.

First-order kinetics (integrated rate law)

Beyond this course's own scope. Leave exactly one field blank to solve a first-order reaction's rate constant, elapsed time, or either concentration.

How this works

ln([A]0/[A]t) = kt is the integrated form of a first-order rate law — it turns "how fast" into "how much is left after how long," the same exponential-decay shape as radioactive decay below. The tool also reports the half-life implied by whichever k is known or solved for, t½ = ln2/k. Keep time and rate-constant units consistent with each other (e.g. seconds and s⁻¹). See rate law, rate constant, and integrated rate law.

Radioactive decay

Beyond this course's own scope. Leave exactly one field blank to solve a decay constant, elapsed time, or either amount of a radioactive isotope.

How this works

ln(N0/Nt) = λt is the mathematically identical exponential-decay relationship as first-order chemical kinetics above, just relabeled: λ (the decay constant) plays the role k plays there. The crucial difference is physical, not mathematical — λ is a fixed nuclear property of a given isotope, unaffected by temperature, concentration, or catalysis the way a chemical rate constant can be. See decay constant, half-life, and alpha decay.

Gibbs free energy & spontaneity

Beyond this course's own scope. Leave exactly one field blank to solve ΔG, ΔH, T, or ΔS.

How this works

ΔG = ΔH − TΔS determines whether a process is spontaneous as written at a given temperature: negative ΔG is spontaneous, positive is non-spontaneous, zero is equilibrium. ΔH and ΔG are conventionally in kJ/mol while ΔS is in J mol⁻¹ K⁻¹ — the tool applies the ×1000 conversion for you, but watch that unit mismatch when working by hand. See Gibbs free energy, entropy, and spontaneous process.

Degree of unsaturation

Beyond this course's own scope. Enter an organic molecular formula (e.g. C6H6, C2H4O2, C6H5NO2) to count its rings and pi bonds without drawing a structure.

How this works

DoU = C − H/2 − X/2 + N/2 + 1 compares a formula's actual hydrogen count against the maximum a fully saturated, ring-free hydrocarbon with the same carbon count could have; every ring or pi bond (double or triple bond) the real structure contains costs exactly two hydrogens relative to that maximum, so the shortfall reveals how much unsaturation must be present. Oxygen and sulfur don't affect the count; halogens count the same as hydrogen. See degree of unsaturation and functional group.

Titration curve grapher

Beyond this course's own scope. Graph pH versus volume of a strong-base titrant added to either a strong acid or a weak acid (with its Ka).

How this works

The titrant is always a strong base. Before equivalence, a strong-acid analyte is worked out directly from leftover moles of acid; a weak-acid analyte is worked out from the full weak-acid equilibrium for a mixture of the remaining acid and the conjugate base formed so far — not bare Henderson–Hasselbalch alone, which breaks down for the first sliver of titrant added. At the equivalence point, a weak acid's conjugate base hydrolyzes water, which is exactly why that point sits above pH 7 rather than at it — a strong acid's equivalence point has no such conjugate-base effect and lands at pH 7 instead. For a weak acid, half the equivalence volume lands at exactly pH = pKa, marked on the graph. See buffer and Henderson–Hasselbalch equation.