Half life is the time needed for a radioactive molecule to decay 50% or half of its weight. When decay, half of the radioactive parent molecule will be changed into children molecule. So, the ratio of parent: child molecule can be used to determine how many half-lives already happen. The parent molecule would be potassium-40 and the child molecule is argon-40.
The number of half-live would be:
parent molecule/child molecule = (1/2)^(half-live)
5/40= (1/2)^(half-live)
1/8= (1/2)^(half-live)
(1/2)^3=(1/2)^(half-live)
half live= 3
If the half-life is 1.25 billion years, the age of the rock would be:
age= half-life count * half-life duration
age= 3 * 1.25 billion years
age= 3.75 billion years