Most of the things in Warzone are easy to calculate, but some of them can be pretty confusing. Here are some of the formulas we use to calculate things.
Nearly all calculations in formulas are done with integers. This means that numbers are nearly always rounded down to the nearest integer. This includes damage bonuses, weight multipliers, damage multipliers, experience bonuses, accuracy bonuses (down to the nearest percent)...
However, note that time is usually rounded down to the nearest 0.1 second, and distance is usually rounded down to the nearest 1/128 tile.
Damage = Base Damage − Armor After Upgrades
Damage = 1/3 × Base Damage
Damage = 1
(Whichever is higher.)
Base Damage = Weapon Damage After Upgrades × Weapon Target Modifier
See also: Detailed explanation of damage formula
Unit speed formula
Speed = Base Speed × Speed Penalty × Unit Experience Bonus
Speed = Propulsion Max Speed × Unit Experience Bonus
(Whichever is lower.)
Base Speed = Engine Power After Upgrades × Propulsion Speed × Propulsion Terrain Multiplier / Total Weight
Speed Penalty is 3/4 if using a medium body on VTOL, 1/4 if using a heavy body on VTOL, and 1 in all other cases.
This speed is in units of world-coordinates per second. There are 128 world-coordinates in a tile, so, for instance, a unit with a speed of 128 would go at a speed of one tile per second.
That "Terrain Multiplier" is pretty important. You'd expect it to be 1× for all propulsions flat terrain, but it's actually 2.5× for VTOLs.