What is the formula for calculating Unique Visitors?

A unique visitor is calculated by the IP address used to access a website. No matter how many times an IP address visits a page or website, it only counts once in the time period being measured. A shared computer will result in only one unique visitor count, even if multiple different users visit the site.