Reaching the level cap is mostly arithmetic once you know your XP rate. This calculator sums the XP you still need across a realistic rising level curve, then divides by your XP per hour and daily play time to give an honest forecast in both hours and calendar days.
How it works
The XP to clear a single level grows with the level number:
xpForLevel(L) = base * L ^ growth
The tool sums xpForLevel(L) for every level from your current one up to the cap,
subtracts the XP you already hold inside your current level, then converts:
hoursNeeded = remainingXp / xpPerHour
daysNeeded = ceil(hoursNeeded / hoursPerDay)
Because each level costs more than the last, the back half of the climb usually dominates the total time.
Tips and example
If you are level 20 of a 40 cap earning 50,000 XP per hour and playing two hours a day, the early levels fall quickly but the high-30s levels carry most of the remaining XP. The forecast captures that — re-run it with a higher XP-per-hour figure to see how much a better grind spot or an XP event shortens the road to the cap.