First-order reaction kinetics
Watch a reactant turn into a product. Explore rate constants, half-life, and concentration–time curves.
For an irreversible reaction , the first-order rate law is
With no product initially, and . 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.
Adjust the parameters to see how reactant and product concentrations change over time.
The interactive version runs in your browser. Download the Python version below to run the same model on your computer.