ROAS is calculated by dividing the revenue generated from ad campaigns by the total ad spend. The formula is: ROAS = (Revenue from Ads) / (Cost of Ads) For example, if a company spends $1,000 on an ad campaign and generates $5,000 in revenue, the ROAS would be 5. This means that for every dollar spent on ads, the company earned $5.