How long after sex can you get pregnant?

Can you work out how far along you could be from when you had sex?