How this tool computes its result
Three independent tabs (CPM, CPC, CPA), each supporting two calculation directions. Forward direction: CPM = cost / impressions * 1000, CPC = cost / clicks, CPA = cost / conversions. Reverse direction: given a target rate and a budget, it projects volume — impressions = (budget / cpm) * 1000, clicks = budget / cpc, and (on the CPC tab) optionally projects conversions = clicks * conversionRate / 100 if a conversion rate is supplied. Each result set feeds a small rule-based recommendation list keyed to fixed thresholds per metric.
