Hi Joe,
I found a very good resource for your question. You can check the resource here: https://top10gears.com/ac-tonnage-calculator/
This article has an AC Tonnage calculator along with factors and parameters that need to be taken care of while calculating the AC tonnage capacity. It also has a stepwise guide and the AC tonnage formula for calculation.
I think it is a complete resource on the topic.