How to make a heart in Desmos

Updated November 2026 · Sarkari Tools math team

Quick answer

The classic Desmos heart is one equation: (x² + y² − 1)³ = x²y³. Copy it into an expression line and Desmos draws the heart. There is also a parametric version and a filled one.

(x^2+y^2-1)^3=x^2y^3(16sin(t)^3, 13cos(t)-5cos(2t)-2cos(3t)-cos(4t))

Step by step

  1. Type (x^2+y^2-1)^3=x^2y^3.
  2. Click the color circle and pick red.
  3. To fill it in, change = to <: (x^2+y^2-1)^3<x^2y^3.
  4. For a smoother, wider heart, use the parametric form (16sin(t)^3, 13cos(t)-5cos(2t)-2cos(3t)-cos(4t)) with t from 0 to 2π, and zoom out.
  5. To make it beat, multiply both parts by a slider a and press play.

Try it live

This graph is drawn by our free graphing calculator, which uses the same style of typing. Edit any line and the graph updates.

drag to pan · scroll to zoom

Common mistakes and tips

  • The implicit heart is small, about 2 units wide. Zoom in if you can’t see it.
  • The parametric heart is about 32 units wide. Zoom out to see it.
  • Use a thicker line in the color menu for a bolder heart.

Frequently asked questions

What is the heart equation for Desmos?

(x² + y² − 1)³ = x²y³ is the most common one.

How do I color a heart in Desmos?

Click the color circle next to the equation and choose red, or use < to fill the inside.

Can I write a name inside the heart?

Yes. Add a point inside it and use a label to show text.

No Desmos? Use our free online graphing calculator

Our free online graphing calculator works in any browser with no sign-up, and it shows step-by-step working where it can.

More Desmos guides

Desmos is a trademark of Desmos Studio PBC. Sarkari Tools is independent and not affiliated with or endorsed by Desmos. Our guides describe how to use the Desmos calculator; our own calculators are separate tools.