The amount of money earned when delivering a Cargo (en) is determined by four factors: cargo, amount, distance, and days in transit, and is the product of the cargo payment rate, amount of cargo, transit distance, and time factor determined by days in transit.
Before OpenTTD 1.0/r17437, transporting Valuables (en) a distance of fewer than 10 tiles yielded no money.
The transit distance is measured as the distance manhattan distance between the origin station and the destination station.
The time scaler penalizes slow transportation. Each cargo type has two numbers, days1 and days2, that determine the boundaries between "fast", "medium", and "slow".
Note: One "day" on this page is actually 2.5 days in the game. So if days_in_transit = 4, then you use 4 in the calculations that follow, but actually the cargo is already 10 days in transit.
Income(cargo, amount, distance, time) = cargo payment rate ...
This function has the following form:
Here, "Base" means the cargo payment rate.
|Copper Ore (en)||4892||12||255|
|Fizzy Drinks (en)||6250||30||50|
|Iron Ore (en)||5120||9||255|
Image shows how income depends on 20 passengers delivered 100 tiles away at speed v (in km/h). According to this page equation, income of passengers delivered at 100 km/h equals 96.2% of the income delivered at 600 km/h. This means that the speed of the vehicle sometimes must not be prioritized as much as for example vehicles cargo capacity (especialy dealing with planes).
Also, farther distances are more sensitive to speed. Take a look at the passenger delivery over 500 tiles:
This time, income of 100 km/h is 67.1% against 600 km/h which means that faster vehicle will substantialy increase our income.
Furthermore, very interesting graph we get from distance versus income (same 20 passengers but at 100 km/h):
It is interesting to note that aproximately at 600 tiles you will be getting less and less money, because value of the passengers is falling faster than growing for a longer distance. To add more, if you pay close attention to this page equation, you will notice that if it takes too much time to deliver a cargo, you will be getting constant value of 31 for time. This suggests, that you can get very big income dependant only on the distance if the distance is extremely big (straight line).
Also, if the speed of the vehicle is greater, larger distances can be reached without loss in income. Here is an example of speed of 300 km/h:
Similar graphs can be drawn in-game using new graphs patch.