How many days after sex can you know if your pregnant?

Most pregnancy tests will turn positive within ten days after sex.

The earliest that you could know that you are pregnant would be 14 days after sex. After 14 days you can take a pregnancy test to see if you are pregnant or not.