The Speed Breakpoints that you have in the table corresponds to the Speed value as seen in your character stats.
The Speed stat is computed, according to TibiaWiki's Speed article as:
Base_speed = 109 + Level
Speed = Base_speed + EQ_speed + Spell_speed
Where the EQ speed is the sum of modifiers of your equipment.
As of early 2024, the best a knight could get is 10+15+15+10+30+10+30+10 + (25 in November) = 155. For mages and paladins it is 145.
The Spell speed can come from consumables: Filled Jalapeno Peppers will give 100 or from spells and charms, which multiply your Base speed:
- Adrenaline Burst: 1.5 * Base_speed
- Charge: 0.9 * Base_speed
- Swift Foot: 0.8 * Base_speed
- Strong Haste: 0.7 * Base_speed
- Haste: 0.3 * Base_speed
To answer you question, take the highest breakpoint for the tile in consideration: e.g., 2382 for pavement and solve the equation for Level. For a knight, it would be (2382 - 155)/1.9 - 109 rounded up: 1064. Similarly, for a mage it the solution is 1207.
You may consider using a simplified version of the equation:
Level = round_up((Tile_breakpoint - EQ_speed)/Voc_mult - 109),
where Voc_mult is 1.9 for knights, 1.8 for pals and 1.7 for mages.