In the case of a simple lead gen campaign, you can get a rough average by using the formula below:

(Number of Leads Goal * Average CPC) / Landing Page Conversion Rate = Monthly Target Ad Spend

(20 Leads * $5 CPC) / .10 landing page conversion rate = $1000 per month
Total ad spend required to hit the lead goal of 20 is $1000.