This is a side project developed in free time. If you find it useful we are more than happy. We will add more tools in the future.
Depending on the database you pick, the geolocation database's accuracy varies. Although the normal Ip2Country database accuracy is closer to 95%, some providers claim to deliver 98% to 99% accuracy for IP-to-country databases.
The IP whois data is freely available, and it is not difficult to identify the country from this database. When a company needs a block of IP addresses, a request is made, and the requested ISP is given the IP numbers that have been allotted.