How to measure the Uptime of my web hosting

The web hosting company or server you are using can have the uptime is calculated by taking the total time your web host is down and dividing it by the total duration of the monitoring period. You can then convert this downtime percentage into uptime by subtracting it from 100%. For example, if your server is down for 20 minutes over two days, the uptime is 99.992%.D