Our booking engine at tickets.railforums.co.uk (powered by TrainSplit) helps support the running of the forum with every ticket purchase! Find out more and ask any questions/give us feedback in this thread!
It is based on distance covered, aircraft weight and the rate of charge for each zone overflown.
The Eurocontrol booklet gives some examples:
https://www.eurocontrol.int/sites/default/files/publication/files/customer-guide-to-charges-2018-june.pdf