The Short Answer
According to the NHS, you can use most pregnancy tests from the first day of a missed period. If you don't know when your next period is due, do the test at least 21 days after you last had unprotected sex. Some very sensitive tests can be used before you miss a period, but testing early makes a negative result less reliable. This calculator works out both dates for you and highlights the one to use.
Why Testing Too Early Can Mislead You
Home pregnancy tests detect hCG (human chorionic gonadotropin), a hormone made once a fertilised egg has implanted in the womb. Implantation happens some days after ovulation, and hCG then rises over the following days. If you test before there is enough hCG in your urine, the test can be negative even though you are pregnant. The NHS lists testing too early and not following the instructions as reasons a result may be unreliable, and notes that some medicines can also affect results. A positive result is much less likely to be wrong than a negative one.
How the Calculator Works
- Expected period: first day of your last period + your usual cycle length. With a 28-day cycle, that's 28 days after your last period started.
- Irregular periods: enter your longest recent cycle instead. That gives the latest date your period would normally arrive, so a test on that day is less likely to be too early.
- 21 days after sex: the date of unprotected sex + 21 days, the NHS rule for when you don't know when your period is due.
- Best day: with regular cycles, the expected period date. With irregular cycles and both dates entered, the later of the two.
- Retest: if the result is negative and your period still hasn't come, wait a few days and test again. If the second test is also negative and you still have no period, speak to a GP.
Worked example: your last period started on 1 May and your cycle is usually 30 days. Your period is due on 31 May (1 May + 30 days), so that's the first day a standard test is reliable. If you had unprotected sex on 14 May, 21 days later is 4 June. Because your cycles are regular, 31 May is the date to use. If the test is negative and your period still hasn't come, test again a few days later.
Tips for an Accurate Result
- Read the leaflet first. Tests differ in how early they work and how long to wait before reading them.
- Check the expiry date and use a new test each time.
- Follow the timing exactly and read the result within the time given in the leaflet.
- If the result is unclear, wait a few days and repeat the test.
When to See a Doctor or Get Help
Speak to a GP if you get a negative result on a second test but your period still hasn't arrived. If your test is positive, contact a GP or midwife to start your pregnancy care. Get urgent medical help for pain on one side of your tummy, shoulder-tip pain, vaginal bleeding with pain, or feeling faint, which can be signs of an ectopic pregnancy. If you had unprotected sex in the last few days and don't want to be pregnant, emergency contraception may still work: the NHS says the copper IUD and ulipristal (ellaOne) can be used up to 5 days after sex, and levonorgestrel up to 3 days after. Ask a pharmacist, GP or sexual health clinic as soon as possible.
Frequently Asked Questions
How soon after sex can I take a pregnancy test?
If you know when your period is due, wait until the first day of your missed period. If you don't, the NHS advises testing at least 21 days after unprotected sex.
Can I test before my missed period?
Some very sensitive tests say they work before a missed period, but a negative result is less reliable then. If it's negative, test again after your period is due.
I got a negative test but my period hasn't come. What now?
Wait a few days and test again. If the second test is also negative and you still haven't had a period, speak to a GP.
When should I test if my periods are irregular?
Use your longest cycle to estimate when your period is due, or test at least 21 days after unprotected sex. This calculator works out both.
Can a pregnancy test be wrong?
Yes. A negative result is less reliable, especially if you test too early or don't follow the instructions. Some medicines can also affect results.
When should I test after IVF?
Use the date your fertility clinic gives you. The HFEA warns that testing early can give a false result.
Is my information stored?
No. Everything is calculated in your browser, and your dates are never saved or sent.
Sources
- NHS – Doing a pregnancy test.
- NHS – Emergency contraception.
- NHS – Ectopic pregnancy symptoms.
- HFEA – In vitro fertilisation (IVF).
Last reviewed: 12 October 2026. Reviewed by: awaiting review by a qualified GP, nurse or midwife.