function Page() { const [aov, setAov] = React.useState(150); const [margin, setMargin] = React.useState(40); // 40% margin const [spend, setSpend] = React.useState(10000); const [cpc, setCpc] = React.useState(1.50); const [email, setEmail] = React.useState(""); const [submitted, setSubmitted] = React.useState(false); // Calculations const grossProfitPerOrder = aov * (margin / 100); const breakEvenCPA = grossProfitPerOrder; const targetROAS = (aov / breakEvenCPA) * 100; const estimatedClicks = spend / cpc; // If we assume a 2% conversion rate const convRate = 0.02; const estimatedConversions = estimatedClicks * convRate; const estimatedCPA = spend / estimatedConversions; const [isSubmitting, setIsSubmitting] = React.useState(false); const handleSubmit = async (e) => { e.preventDefault(); if(email) { setIsSubmitting(true); const data = new FormData(); data.append("email", email); data.append("form_source", "ROAS Calculator"); data.append("aov", aov); data.append("margin", margin); data.append("monthly_spend", spend); data.append("cpc", cpc); try { const response = await fetch("https://formspree.io/f/xpqkvrpq", { method: "POST", body: data, headers: { 'Accept': 'application/json' } }); if (response.ok) { setSubmitted(true); } else { alert("Oops! There was a problem submitting your form."); } } catch (err) { alert("Failed to send message. Please try again."); } setIsSubmitting(false); } }; useReveal(); return ( <>
Auctera Resources ROAS Calculator
Interactive Tool

Break-Even ROAS Calculator.

Stop guessing your targets. Calculate your exact break-even CPA and target ROAS based on your true profit margins.

Input Your Metrics

setAov(Number(e.target.value))} />
setMargin(Number(e.target.value))} />
setSpend(Number(e.target.value))} />
setCpc(Number(e.target.value))} />

Your Profitability Targets

Based on an AOV of ${aov} and a margin of {margin}%, here are your absolute limits.

Break-Even CPA
${breakEvenCPA.toFixed(2)}

If you pay more than this to acquire a customer, you lose money.

Target ROAS
{targetROAS.toFixed(0)}%

The minimum return on ad spend required to break even.

Projected CPA
breakEvenCPA ? "text-danger" : ""}>${estimatedCPA.toFixed(2)}

Based on standard 2% conversion rate.

{estimatedCPA > breakEvenCPA && (
Unprofitable Projection
)}
{submitted ? (

Request sent!

Our performance team will review your metrics and email you a customized growth strategy shortly.

) : (

Get your growth plan

Enter your email to have our performance experts build a custom acquisition strategy based on your targets.

setEmail(e.target.value)} style={{flex: 1, padding: "14px 20px", borderRadius: 8, border: "none", outline: "none", fontSize: 16}} disabled={isSubmitting} />
)}