Embed Our Mortgage Calculator
Add a beautiful, interactive mortgage calculator to your site with one line of code. Your visitors get instant payment estimates — and a clear path to the full amortization schedule on CalcDeck.
Live Preview
This is the actual widget — try it out!
Get the Code
Option 1 — Auto-insert (recommended)
Place this script tag anywhere in your HTML. The widget appears automatically below it.
<script src="https://calcdeck.io/widgets/mortgage.js"></script>
Option 2 — Target a specific element
Place an empty div where you want the widget, then add the script.
<div id="calcdeck-mortgage"></div>
<script src="https://calcdeck.io/widgets/mortgage.js"></script>
How It Works
Copy the embed code
One line of JavaScript — no iframes, no external dependencies, no signup.
Paste it into your page
Works on WordPress, Squarespace, Wix, and any site that allows custom HTML. The widget auto-sizes to fit your layout.
Visitors get instant results
The widget shows the monthly payment, loan amount, and total interest instantly. A "View Full Breakdown" link sends them to CalcDeck for the full amortization schedule, extra payment analysis, and charts — with their inputs pre-filled.
What's in the Widget vs. CalcDeck
✓ In the Widget
- Home price input
- Down payment percentage
- Interest rate
- Loan term selector (15/20/30 yr)
- Monthly payment result
- Loan amount & total interest
→ On CalcDeck (via CTA link)
- Full amortization schedule
- Extra payment scenarios
- Interactive pay-off charts
- Interest savings calculator
- Year-by-year breakdown
- All inputs pre-filled from widget