Type to search, in English or Thai

  1. Home
  2. Tools
  3. Area calculator

// Tool · Area Calculator

Area Calculator: Shapes, Area Under and Between Curves, Polygons from Coordinates, Rai–Ngan–Wa

One tool for every area job: pick a shape and enter its dimensions, find the area under a curve or between two curves by integration (crossings are found for you), get the area of a plot from the coordinates of its corners, and convert between rai, ngan, square wa and square metres.

By Ajarn ModUpdated

Calculator

Area formulas for common shapes

ShapeArea
RectangleA=abA = ab
TriangleA=12bhA = \tfrac{1}{2}bh
Triangle from three sides (Heron)A=s(s−a)(s−b)(s−c)A = \sqrt{s(s-a)(s-b)(s-c)}, s=a+b+c2s = \tfrac{a+b+c}{2}
Triangle from two sides and the included angleA=12absin⁡CA = \tfrac{1}{2}ab\sin C
CircleA=πr2A = \pi r^{2}
Sector of angle θ\theta degreesA=θ360∘πr2A = \dfrac{\theta}{360^{\circ}}\pi r^{2}
EllipseA=πabA = \pi ab
TrapezoidA=12(a+b)hA = \tfrac{1}{2}(a+b)h
ParallelogramA=bhA = bh
RhombusA=12pqA = \tfrac{1}{2}pq
Regular nn-gonA=na24tan⁡(π/n)A = \dfrac{na^{2}}{4\tan(\pi/n)}
AnnulusA=π(R2−r2)A = \pi(R^{2} - r^{2})

Area under a curve and between two curves

The area between y=f(x)y = f(x) and y=g(x)y = g(x) from x=ax = a to x=bx = b is

A=∫ab∣f(x)−g(x)∣dxA = \int_{a}^{b}\left|f(x) - g(x)\right|dx

If the curves cross inside the interval, each part is integrated separately and the absolute values are added. The calculator finds the crossings and splits the interval for you. Example: y=xy = x and y=x2y = x^{2} cross at x=0x = 0 and x=1x = 1.

A=∫01(x−x2) dx=[x22−x33]01=16A = \int_{0}^{1}(x - x^{2})\,dx = \left[\frac{x^{2}}{2} - \frac{x^{3}}{3}\right]_{0}^{1} = \frac{1}{6}

Thai land units

UnitEqualsSquare metres
1 square wa (talang wa)2 m × 2 m4 m²
1 ngan100 square wa400 m²
1 rai4 ngan = 400 square wa1,600 m²
1 hectare6 rai 1 ngan10,000 m²
1 acreabout 2 rai 2 ngan 12 square wa4,046.86 m²

Example: a plot of 1 rai 2 ngan 50 square wa is 1,600+800+200=2,6001{,}600 + 800 + 200 = 2{,}600 m².

Polygon area from coordinates

With the corner coordinates (xi,yi)(x_i, y_i) listed in order around the outline, the shoelace formula gives the area. Surveyors use the same method to compute a plot's area from boundary-marker coordinates.

A=12∣∑i=1n(xiyi+1−xi+1yi)∣,(xn+1,yn+1)=(x1,y1)A = \frac{1}{2}\left|\sum_{i=1}^{n}\left(x_i y_{i+1} - x_{i+1} y_i\right)\right|, \qquad (x_{n+1}, y_{n+1}) = (x_1, y_1)

Coordinates can be in metres or wa, and the result is also given in rai, ngan and square wa. Treat it as an estimate: the legal area of a Thai plot is the one on the title deed, as surveyed by the Department of Lands.

Frequently asked questions

How many square metres is one rai?

1 rai = 4 ngan = 400 square wa = 1,600 m², because one square wa is 2 m × 2 m = 4 m².

How is area under a curve different from a definite integral?

A definite integral counts parts below the x-axis as negative; area counts everything as positive. The integral of sin x from 0 to 2π is 0, but the area is 4.

How do I find the area of an irregular plot?

Measure the coordinates of each corner from one reference point and enter them in order in the “Polygon from coordinates” tab. Or split the plot into triangles and apply Heron's formula to the measured sides.

When is Heron's formula used?

When all three sides of a triangle are known but the height is not, which is common in field measurement because sides are easier to measure than heights.

More calculators