There are many ways to calculate whether to carry extra fuel that is cheaper versus buying expensive fuel at the destination.
Tankering fuel is an option for operators of long-range aircraft who want to ensure they are getting the best possible price. A number of software options–with varying degrees of specificity–are available to simplify the decision.