RouteRANK provides a journey-costing service, which tells you all the different ways of getting from A to B, how long it will take, how much it will cost, and how many kilograms of CO2 will be emitted. For any A and B in Europe. The image below shows the results for a "Cambridge to Edinburgh" query. Cute! I wish it displayed "energy used" too.