Metodologia de cálculo e verificação da precisão das calculadoras

Ao desenvolver as calculadoras e conversores da ConvertHat, damos atenção especial à precisão dos cálculos, à confiabilidade das fontes e à facilidade de uso. Antes da publicação, cada calculadora passa por uma verificação de precisão matemática e de funcionamento correto.

Verificação independente dos cálculos

Os resultados das calculadoras são comparados com valores de referência calculados de forma independente, com base em fórmulas matemáticas, fatores de conversão oficiais e dados de referência.

As verificações abrangem cenários de uso típicos, valores-limite, conversões de unidades e o tratamento de dados de entrada inválidos.

Controle de qualidade

Cada calculadora passa por verificações automatizadas da precisão dos cálculos e da exibição correta dos resultados.

Novas calculadoras e atualizações só são publicadas depois de passar nas verificações previstas.

Regras de arredondamento e tratamento de dados

Os resultados são arredondados para a precisão definida para cada calculadora pela regra de arredondamento da metade para cima (por exemplo, 2,5 é arredondado para 3).

Se os dados informados forem inválidos, estiverem ausentes ou fora dos limites permitidos, a calculadora avisa em vez de mostrar um resultado errado.

Fontes de fórmulas e dados de referência

No desenvolvimento das calculadoras, usamos fontes primárias confiáveis:

Nas páginas de calculadoras com a seção “Como verificamos esta calculadora”, é possível ver as fontes usadas, exemplos de cálculos de controle e a data da última verificação bem-sucedida.

Precisão e limites dos resultados

Buscamos alta precisão de cálculo dentro dos modelos matemáticos aplicados e dos dados de referência disponíveis.

A precisão dos resultados depende dos valores informados, das regras de arredondamento e das particularidades de cada método de cálculo.

As calculadoras da ConvertHat têm fins informativos, educacionais e práticos. Resultados financeiros, médicos e jurídicos não substituem a orientação de um profissional qualificado.

Fontes citadas neste site

Fonte Citada em
29 CFR § 785.48 — Use of time clocks, (b) “Rounding” practices — Legal Information Institute (e-CFR text)
29 U.S. Code § 207 — Maximum hours, (a)(1) overtime at not less than one and one-half times the regular rate — Legal Information Institute
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — Bohr magneton μB — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — Newtonian constant of gravitation G — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — Stefan–Boltzmann constant σ — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — Wien wavelength displacement law constant b — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — molar gas constant R — National Institute of Standards and Technology
CODATA Recommended Values of the Fundamental Physical Constants: 2022 — vacuum magnetic permeability μ0 — National Institute of Standards and Technology
CSS Values and Units Module Level 4, §6.2 Absolute Lengths (1in = 2.54cm = 96px; 1pt = 1/72 in) — World Wide Web Consortium (W3C)
FHWA HEC-22 Urban Drainage Design Manual, 3rd ed. (FHWA-NHI-10-009, 2009, rev. 2013) — §3.2.2 Rational method eq. (3-1) Q = CIA/Ku, Ku = 360 in SI; Manning's equation (3-5) V = (Ku/n) R^2/3 S^1/2, Ku = 1 in SI — U.S. Federal Highway Administration
Guidelines for Use of Extended Unique Identifier (EUI), Organizationally Unique Identifier (OUI), and Company ID (CID) — IEEE Registration Authority
IRS Publication 538, Accounting Periods and Methods — Accounting Periods: Fiscal Year — Internal Revenue Service
NIST Digital Library of Mathematical Functions, §1.11(iii) Cubic Equations — reduction to w³ + pw + q and the real roots — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §1.12 Continued Fractions — eq. (1.12.5) recurrences for the convergents A_k/B_k — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §26.13 Permutations: Cycle Notation — eq. (26.13.4) derangement number d(n) = n! Σ (−1)^j / j! — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §26.5 Lattice Paths: Catalan Numbers — eq. (26.5.1) C(n) = (2n choose n)/(n + 1) — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §26.7 Set Partitions: Bell Numbers — eq. (26.7.2) B(n) = Σ S(n, k) — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §26.8 Set Partitions: Stirling Numbers — eq. (26.8.6) S(n, k) = (1/k!) Σ (−1)^(k−j) (k choose j) j^n — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §27.14 Unrestricted Partitions — Euler's pentagonal number recursion for p(n), eq. (27.14.5)–(27.14.6) — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §27.2 Functions of Number Theory — Euler's totient (27.2.7), divisor functions d(n), σ_α(n) (27.2.9–10), Möbius function (27.2.12) — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §3.3 Interpolation — eq. (3.3.1) Lagrange interpolation polynomial — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §3.5 Quadrature — eq. (3.5.2) composite trapezoidal rule, eq. (3.5.7) composite Simpson's rule — National Institute of Standards and Technology
NIST Digital Library of Mathematical Functions, §4.2 Logarithm, Exponential, Powers: Definitions — eq. (4.2.3) ln z = ln|z| + i ph z, eq. (4.2.8) log_a z = ln z / ln a, eq. (4.2.24) exp z = e^x cos y + i e^x sin y — National Institute of Standards and Technology
NIST Guide to the SI, Appendix B.8: Factors for Units Listed Alphabetically — National Institute of Standards and Technology
e mais 39
NIST Guide to the SI, Chapter 7: Rules and Style Conventions for Expressing Values of Quantities (SP 811, §7.10.2 “%, percentage by, fraction”) — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.1 Measures of Location (mean, median, trimmed and Winsorized means) — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.11 Measures of Skewness and Kurtosis — Fisher–Pearson skewness g1 and excess kurtosis with s computed using N — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.5.6 Measures of Scale — median absolute deviation MAD = median(|Yi − Ỹ|) — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.1 Normal Distribution — probability density function — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.18 Binomial Distribution — probability mass function, mean np, standard deviation √(np(1 − p)) — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.19 Poisson Distribution — probability mass function e^−λ λ^x / x!, mean λ — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.2 Uniform Distribution — density, cumulative distribution, mean (A + B)/2 and standard deviation — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6.6.7 Exponential Distribution — density, F(x) = 1 − e^(−x/β), mean and standard deviation β = 1/λ — National Institute of Standards and Technology
NIST/SEMATECH e-Handbook of Statistical Methods, §7.2.4.1 Confidence intervals — Wilson score interval for a proportion — National Institute of Standards and Technology
Prefixes for binary multiples (IEC 60027-2: kibi, mebi, gibi…) — National Institute of Standards and Technology
RFC 1146: TCP alternate checksum options (8-bit Fletcher's algorithm, Appendix I) — IETF
RFC 1950: ZLIB Compressed Data Format Specification version 3.3 (Adler-32, §8.2) — IETF
RFC 1952: GZIP file format specification version 4.3 (CRC-32, §8) — IETF
RFC 2781: UTF-16, an encoding of ISO 10646 — IETF
RFC 3339: Date and Time on the Internet: Timestamps — Appendix A (ISO 8601 collected ABNF: week dates, weekday 1 = Monday … 7 = Sunday) and Appendix C (Leap Years) — IETF
e mais 2
RFC 3629: UTF-8, a transformation format of ISO 10646 — IETF
RFC 3986: Uniform Resource Identifier (URI): Generic Syntax (percent-encoding, §2.1) — IETF
RFC 4291: IP Version 6 Addressing Architecture — IETF
RFC 4632: Classless Inter-domain Routing (CIDR): The Internet Address Assignment and Aggregation Plan — IETF
RFC 4648: The Base16, Base32, and Base64 Data Encodings — IETF
RFC 5952: A Recommendation for IPv6 Address Text Representation — IETF
Recommendation ITU-R P.525-5 (11/2024): Calculation of free-space attenuation — §2.3 Point-to-point links, equations (5) and (6) — International Telecommunication Union (ITU-R)
Regulation DD (12 CFR Part 1030), Appendix A — Annual Percentage Yield Calculation, Part I General formula — Consumer Financial Protection Bureau
Regulation Z (12 CFR Part 1026), Appendix J — Annual Percentage Rate Computations for Closed-End Credit Transactions, (b)(8) General equation — Consumer Financial Protection Bureau
The Heat Index Equation — Rothfusz regression with the low- and high-humidity adjustments, and Steadman's simple formula averaged with the temperature below 80 °F — NOAA National Weather Service, Weather Prediction Center
The International System of Units (SI), 9th edition (2019) — SI Brochure — Bureau International des Poids et Mesures (BIPM)
e mais 78