How does the pregnancy % get calculated?

What is the % calculation based on? And is it the % chance based on having sex that day? Or the % chance you are already pregnant based on your data?