DealScorerDealScorer

Embed

Put the Deal Viability Calculator on your site

Paste two lines of HTML and your readers can check whether a business at a given price would cover its SBA loan. It is free, needs no account, and resizes itself to fit your layout.

The snippet

Put the div where you want the calculator. Include the script once per page, anywhere. Every attribute except data-dealscorer is optional.

<div data-dealscorer="deal-viability"
     data-earnings="70000-200000"
     data-multiple="2-4"
     data-name="laundromat"
     data-accent="#1E2328"
     data-mode="light"></div>
<script src="https://www.dealscorer.com/embed.js" async></script>

Starting on your own figures

If your page already shows a typical figure for the business, pass it as data-earnings_typical and data-multiple_typical. The calculator starts exactly on those values, so its starting price matches the price on your page. The calculator only shows what you give it and never looks figures up anywhere else.

<div data-dealscorer="deal-viability"
     data-name="HVAC company"
     data-earnings="70000-200000" data-earnings_typical="135000"
     data-multiple="2-4" data-multiple_typical="3"></div>
<script src="https://www.dealscorer.com/embed.js" async></script>

Live examples

The first uses the snippet above. The second uses the HVAC niche with the dark palette and a serif font.

<div data-dealscorer="deal-viability" data-niche="hvac"
     data-mode="dark" data-font="serif"></div>

Attributes

AttributeValuesDefaultWhat it does
data-dealscorerdeal-viabilityRequiredWhich tool to show. Only the Deal Viability Calculator for now.
data-nicheA niche id (see below)NoneLoads that industry's researched defaults and points the footer link at its buyer's guide.
data-earningsLO-HI in dollars, e.g. 70000-200000 or 70k-200k$100K to $2MTypical annual owner earnings (SDE). The slider runs from half the low figure to 1.5 times the high one and starts at the midpoint. Owner salary scales to match. Up to $50M.
data-multipleLO-HI, e.g. 2-42x to 6xTypical asking multiple of SDE. The slider runs from half a turn below to one turn above and starts at the midpoint.
data-earnings_typicalDollars, e.g. 135000 or 135kMidpoint of data-earningsExact starting value for owner earnings. The slider step is chosen so this value is reachable.
data-multiple_typicalA number, e.g. 3 or 2.75Midpoint of data-multipleExact starting multiple. The slider step is chosen so this value is reachable.
data-namePlain text, up to 80 charactersNoneBusiness type for the headline, e.g. "Could you afford to buy a laundromat?"
data-heading0ShownSet to 0 to hide the headline.
data-modelight or darklightBase colour palette.
data-accentHex colourDealScorer greenSliders, chart line and verdict tint.
data-inkHex colourPalette defaultMain text colour. Ignored if it would be hard to read on the background.
data-bgHex colourWhite (light) or near black (dark)Card background. A dark background switches to the dark palette.
data-surfaceHex colourPalette defaultBackground of the results panel.
data-mutedHex colourPalette defaultSmall labels.
data-borderHex colourPalette defaultDivider and slider track.
data-radius0 to 242Corner radius of the card in pixels.
data-fontsans, serif, mono, system, inherit-sansInterAn iframe cannot use your page's fonts. sans is Inter, serif is Fraunces, system and inherit-sans use the visitor's system font.
data-refLetters, numbers, dot, dash, underscoreembedSent as utm_source on the footer link so we can tell which site sent the visit.

Values that are missing or not valid are ignored and the default is used. For owner earnings and the multiple, your own data-earnings, data-multiple and their _typical values, then data-niche. The niche still supplies everything else, such as the loan rate range.

Niche ids: hvac, plumbing, landscaping, commercial-cleaning, auto-repair, pool-service, self-storage, daycare, restaurant, liquor-store, pool-construction, pest-control.

Good to know