Skip to content
Chemistry Notebook

First-order reaction kinetics

Watch a reactant turn into a product. Explore rate constants, half-life, and concentration–time curves.

For an irreversible reaction ABA\rightarrow B, the first-order rate law is

d[A]dt=k[A],[A](t)=[A]0ekt.-\frac{d[A]}{dt}=k[A],\qquad [A](t)=[A]_0e^{-kt}.

With no product initially, [B](t)=[A]0[A](t)[B](t)=[A]_0-[A](t) and t1/2=ln(2)/kt_{1/2}=\ln(2)/k. This model assumes constant temperature and volume, a 1:1 reaction, and no reverse or side reactions.

Try this: double the rate constant. What happens to the half-life? Then double the initial concentration while keeping the rate constant fixed. Does the half-life change?

Python version: download the file below and run python3 first_order.py. It creates kinetics.csv without extra packages. Change inputs with --rate 0.2 --initial 2 --duration 60. For a plot, install Matplotlib and add --plot.

A → BFirst-order reaction

Adjust the parameters to see how reactant and product concentrations change over time.

Time (s) Concentration (mol/L)
━ [A] Reactant┄ [B] Product
[A] = mol/L[B] = mol/Lt½ = s

The interactive version runs in your browser. Download the Python version below to run the same model on your computer.

Download Python source (.py)