Use this calculator to figure how much the biodiesel portion of pre-blended biodiesel costs. In the example shown below, B20 biodiesel at $2.89 is made from petrodiesel costing $2.75 mixed with biodiesel that costs $3.45. You could save money by making your own blend using biodiesel that cost less and mixing it with petrodiesel yourself.