Calculadora de Trapézio
Calcule a área, altura ou uma das bases paralelas do trapézio a partir dos outros três valores. Exiba o comprimento da mediana (segmento médio) e — com os comprimentos dos lados — o perímetro e classificação de trapézio isósceles/escaleno, além de um diagrama rotulado.
Entrada
Deixe em branco UM de base a, base b, altura ou área — o valor será calculado dos outros três.
Saída
O diagrama do trapézio aparecerá aqui após resolver.
Mais formas de usar esta ferramenta
API REST
curl -X POST https://api.iotools.cloud/v1/tool/trapezoid-calculator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"base1": "6",
"base2": "10",
"height": "4"
}'Troque pela sua própria chave, da sua conta. Os campos da ferramenta viram o corpo da requisição — sem envelope.
Peça a um agente de IA
Use the IOTools `trapezoid-calculator` tool (Trapezoid Calculator) on this input:
YOUR_INPUT_HERECole isto em qualquer agente conectado ao servidor MCP do IOTools e depois adicione sua entrada.
Widget para incorporar
<iframe
src="https://iotools.cloud/embed/trapezoid-calculator/"
width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
title="Calculadora de Trapézio — iotools.cloud"
sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
allow="clipboard-write"
style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>Coloque isso na sua própria página — grátis, sem chave, só um link de volta.
| Custo por chamada de API/MCP | A partir de 5 créditos |
|---|---|
| Precisa de mais créditos? | Ver preços |
Também disponível via
Guias
Solve a trapezoid's area, height, or either parallel base from the other three values, plus its median (midsegment) length. Add the two leg (non-parallel side) lengths for the perimeter and an isosceles/scalene classification, and get a labeled diagram either way.
The formula
For a trapezoid with parallel bases a and b and height h (the perpendicular distance between them):
area = (a + b) / 2 × hThe median (or midsegment) — the segment connecting the midpoints of the two legs — always has length (a + b) / 2, which is also area / h.
Solve for any of the four
Leave any ONE of base a, base b, height, or area blank and the calculator solves for it from the other three:
- Missing area →
area = (a + b) / 2 × h - Missing height →
h = 2 × area / (a + b) - Missing base a →
a = 2 × area / h − b - Missing base b →
b = 2 × area / h − a
If all four are supplied, the calculator checks they're consistent and flags it if they aren't.
Perimeter and shape (optional)
Fill in leg 1 and leg 2 (the two non-parallel sides) and the calculator also reports:
- Perimeter —
a + b + leg 1 + leg 2 - Shape — isosceles (equal legs) or scalene
How to use it
- Enter any three of base a, base b, height, and area — the fourth is solved for you.
- Optionally add both leg lengths for the perimeter and shape classification.
- Read the labeled diagram and the full solution, or copy the SVG source.
All calculations run in your browser — nothing is uploaded.
What if my four values don't match up?
If you fill in all four of base a, base b, height, and area, the calculator verifies area = (a + b) / 2 × h and tells you what area those three dimensions actually give if it doesn't — leave one field blank instead to have it solved for you.