Clemson Extension puts compost at 10-20% of a raised bed's volume, the rest good topsoil.
Buy 5-10% extra - soil settles after watering and beds always want a top-up.
Free tool by Plantvale