Brahmagupta’s formula

Solve brahmagupta’s formula with your values and follow each calculation step.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
A = √[(s−a)(s−b)(s−c)(s−d)], s=(a+b+c+d)/2

Variables & units

Side a
cm · minimum 0, maximum 1000000
Side b
cm · minimum 0, maximum 1000000
Side c
cm · minimum 0, maximum 1000000
Side d
cm · minimum 0, maximum 1000000

Worked example

A cyclic quadrilateral with consecutive sides 3,4,3,4 cm has area 12 cm².

Assumptions

This formula requires a cyclic quadrilateral. Side lengths alone do not verify that your drawn quadrilateral is cyclic.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Practice with an example

Use the default input values to find the answer. The reset icon restores those values.

Calculated on your device. Your latest 100 calculations stay in this browser.