Half-Life (as you probably know) means that over a period of time (8 days in this case), the substance will have decayed and there will only be half of it left. So if you started with say 100kg of it, then after 8 days, you'd have 50kg. After 16 days, you'd have half of that, or 25kg. After 24 days, you'd have half of that, or 12.5kg.
So after ...
8 days, 1/2
16 days, 1/4
24 days, 1/8
32 days, 1/16
40 days, 1/32
48 days, 1/64
Okay, so I didn't really need a formula, but this is a simple case. With something more complicated, you're going to need a formula. Let me do this again:
8x1 (8) days, 1/2
8x2 (16) days, 1/2 * 1/2 [ or (1/2)^2), which equals 1/4]
8x3 (24) days, 1/2 * 1/2 * 1/2 [(1/2)^3 = 1/8]
8x4 (32) days, (1/2)^4 [1/16]
8x5 (40) days, (1/2)^5 [1/32]
8x6 (48) days, (1/2)^6 [1/64]
Note the 1,2,3,4,5,6 on both sides of the equation (times the half-life and as an exponent of the 1/2. If "H" is your half-life, and "n" is this number - the numer of half-lives that it is going to take, then your formula is:
H * N = (1/2)^N
In this case, you have H, you're solving for N.