Rule of Three (direct and inverse)

Calculate simple rule of three with direct or inverse proportion in real time.

{{ ruleOfThree.message }}

Overview

Rule of three solves proportions between quantities. In direct proportion, when one quantity increases, the other also increases at the same ratio. In inverse proportion, when one increases, the other decreases proportionally.

This tool takes A, B, and C and computes X automatically as you edit.

Example

Direta: 2 está para 4, assim como 3 está para X. Resultado: X = 6

FAQ

What is this tool for?

It runs fully in your browser: useful to validate, format, or convert data in everyday development.

Are my inputs sent to a server?

Processing happens locally with JavaScript. We do not store what you paste into the text areas.

Can I use this for real production data?

Use at your own risk. For secrets (passwords, tokens), prefer controlled environments and your company policies. And always review the generated contents. Never trust blindly things you see on the internet.