Beginner

Triangle Ratio Calculator — Sides from a Ratio and Perimeter

Enter the ratio of the three sides and the perimeter to find the actual side lengths, angles, and area of the triangle. Works for any ratio — whole numbers, decimals, or fractions.
e.g. 3 in a 3:4:5 triangle
e.g. 4 in a 3:4:5 triangle
e.g. 5 in a 3:4:5 triangle
Total perimeter of the actual triangle
Side a
9

Actual side a = Perimeter × r₁ / (r₁ + r₂ + r₃)

Side a
9
Side b
12
Side c
15
Angle A (opposite a)
36.8699°
Angle B (opposite b)
53.1301°
Angle C (opposite c)
90°
Area
54
Semi-perimeter
18
Triangle type
Scalene
25%
33%
42%
a (3× share)
b (4× share)
c (5× share)
Side lengths are proportional to the ratio parts — each share of the perimeter
Step by step
  1. 1

    Sum of ratio parts

    3 + 4 + 5 = 12
  2. 2

    Scale factor (P ÷ ratio sum)

    36 ÷ 12 = 3
    Each ratio part is multiplied by this factor to get the actual side length.
  3. 3

    Side a = P × r₁ ÷ ratio sum

    36 × 3 ÷ 12 = 9
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

For sides in ratio r₁:r₂:r₃ with perimeter P: a = P·r₁/(r₁+r₂+r₃), b = P·r₂/(r₁+r₂+r₃), c = P·r₃/(r₁+r₂+r₃). Enter the three ratio parts and perimeter to get actual side lengths, all angles, and area instantly.

Formula
a = P × r₁ / (r₁ + r₂ + r₃) • b = P × r₂ / (r₁ + r₂ + r₃) • c = P × r₃ / (r₁ + r₂ + r₃)
How this is calculated

When the sides of a triangle are in the ratio r₁ : r₂ : r₃, the actual sides are proportional fractions of the total perimeter P. The sum of the ratio parts r₁ + r₂ + r₃ represents the whole perimeter, so each side equals P × rₙ / (r₁ + r₂ + r₃). For example, a 3:4:5 ratio with perimeter 36 gives sides 9, 12, 15.

Once the three side lengths are known, the calculator computes the area via Heron's formula (Area = √[s(s−a)(s−b)(s−c)], s = P/2) and all three interior angles via the Law of Cosines. The triangle is classified as equilateral, isosceles, or scalene based on the ratio parts.

Note that not every ratio r₁:r₂:r₃ produces a valid triangle: the resulting sides must satisfy the triangle inequality (sum of any two sides > third side). If the ratio implies one side is too long, the calculator shows a warning rather than an impossible result.

Frequently asked questions

Yes — ratio parts can be any positive number, including decimals. A 1.5:2:2.5 ratio gives the same triangle shape as 3:4:5 (just multiply by the same constant). Only the perimeter determines the actual size.

A 3:4:5 ratio produces a right triangle (angle C = 90°) because 3² + 4² = 5². Multiples such as 6:8:10 or 9:12:15 also produce right triangles. Enter ratio 3:4:5 and any perimeter to confirm the 90° angle.

Say you know side a. Then perimeter P = a × (r₁ + r₂ + r₃) / r₁. Compute P and enter it in the perimeter field. The other sides follow automatically.

Also known as

triangle sides in ratio
triangle ratio perimeter
find triangle from ratio
sides of triangle in ratio
triangle ratio calculator
proportional triangle sides
ratio triangle geometry

APA

TG we-Calculate Editorial Team. (2026). Triangle Ratio Calculator — Sides from a Ratio and Perimeter [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/triangle-ratio-calculator

Chicago

TG we-Calculate Editorial Team. "Triangle Ratio Calculator — Sides from a Ratio and Perimeter." TG we-Calculate. 2026. https://we-calculate.com/calculator/triangle-ratio-calculator.

IEEE

TG we-Calculate Editorial Team, "Triangle Ratio Calculator — Sides from a Ratio and Perimeter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/triangle-ratio-calculator

BibTeX

@misc{wecalculate_triangle_ratio_calculator, title = {Triangle Ratio Calculator — Sides from a Ratio and Perimeter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/triangle-ratio-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?