Is/are there specific formula/s?
both will work fine in anything d1 is cleaner burning than d2 there is what is called off road diesel this is colored so that if any one looks they will know, the offroad version is sold for off road use only, and has no road taxes added on, anyone caught on the highway with the wrong fuel gets a large fine.
If you wanted to calculate the volume with some accuracy, you would graph the shape of the bucket and using calculus, find the area under the curve(s). Then just multiply by the length of the bucket. Or a quick and dirty estimate would be to multiply the length by the average width times the height of product carried in the bucket. Or, using what I call the Thomas Edison method, ram the bucket into a big pile of sand, dump it out on a surface and shovel it all into buckets of known size. Add 'em all up and you've got your volume.