@Jumbo125,
Calculating the print time is an inexact science. The most accurate answer would come from a gcode simulator that exactly models the printer's hardware and firmware.
The plugin mentioned by @Ewald_Ikemann uses a generic gcode model and provides one of the best estimates available.
Each different slicer may have different algorithms for estimating print time and it is not uncommon to get very different answers for the same input.