Calculadora d'arrodoniment

Round numbers to different decimal places using various rounding methods with step-by-step solutions.

Per obtenir ajuda per a l'aprenentatge i els deures: verifiqueu els càlculs crítics de manera independent.

Reviewed by Consell editorial de CalculatorDrive Math · Last updated

Calculadora

Maximum: 20

Introduïu un nombre, seleccioneu els decimals i el mètode d'arrodoniment per arrodonir el nombre.

La resposta curta

L'arrodoniment substitueix un nombre per un valor proper i més simple amb una precisió escollida. Mireu el dígit just després del vostre tall: 5 o superior normalment arrodoneix l'últim dígit conservat cap amunt, per sota de 5 el deixa sense canvis, tot i que la regla exacta per a un empat exacte (un 5 final) varia segons el mètode. Aquesta calculadora admet cinc modes d'arrodoniment: més proper, amunt, avall, cap a zero i lluny de zero.

Key takeaways

  • "Round to Nearest" here uses banker's rounding (round half to even), so 2.5 → 2 and 3.5 → 4, not always rounding .5 up.
  • Round up (ceiling) and round down (floor) always move toward positive or negative infinity respectively, regardless of the number's sign.
  • "Toward zero" and "away from zero" match floor/ceiling for positive numbers but flip for negative numbers — this is where the five modes genuinely diverge.
  • Les xifres significatives compten els dígits significatius a partir del primer dígit diferent de zero, que és diferent de comptar els decimals.

Cinc modes d'arrodoniment comparats

Mode 2.5 → −2.5 →
Nearest (banker's)2−2
Amunt (sostre)3−2
A baix (pis)2−3
Cap a zero2−2
Away from zero3−3

Xifres decimals vs. xifres significatives

Els decimals compten els dígits després del punt decimal, punt. Les xifres significatives compten els dígits significatius a partir del primer dígit diferent de zero, sigui on caigui. Per a 0,004567: arrodonir a 3 xifres decimals dóna 0,005, però arrodonir a 3 xifres significatives dóna 0,00457, un resultat molt més precís, ja que les xifres significatives ignoren completament els zeros inicials.

Exemple treballat: el mateix nombre, cinc maneres

The table above shows exactly why the choice of mode matters: 2.5 and −2.5 are the same distance from zero, yet each rounding mode can send them to different results depending on the number's sign. "Round to Nearest" and "Toward zero" happen to agree here, but that won't always be the case for other numbers.

Common mistakes to avoid

  • Assuming "round to nearest" always rounds a trailing 5 up — this tool, like Python and many technical systems, rounds half to even instead.
  • Confusing "toward zero" and "away from zero" with floor and ceiling — they're identical for positive numbers but flip for negative numbers.
  • Mixing up decimal places and significant figures — a small number like 0.004567 loses most of its precision if rounded to "3 decimal places" instead of "3 significant figures."
  • Arrodoniment a cada pas intermedi d'un càlcul de diversos passos en lloc de només al final, cosa que augmenta petits errors.

Preguntes freqüents

Què vol dir arrodonir un nombre?

L'arrodoniment substitueix un valor per un nombre proper més simple amb una precisió escollida: el nombre sencer més proper, el dècim, el centèsic o la xifra significativa.

Quina és la regla estàndard d'arrodoniment per a 5?

Quan el dígit després del tall és 5 seguit només de zeros, moltes convencions arrodoneixen la meitat: de 2,5 a 3, de −2,5 a −3. Alguns sistemes utilitzen l'arrodoniment de banquer (a parell).

Quines són les xifres significatives?

Significant figures are the meaningful digits in a measurement. Rounding to three significant figures keeps three reliable digits: 0.004567 becomes 0.00457.

Quan hauríeu d'arrodonir en càlculs de diversos passos?

Keep extra digits during intermediate steps and round only the final answer. Early rounding compounds error.

Com puc utilitzar aquesta calculadora d'arrodoniment?

Introduïu un nombre, trieu decimals o xifres significatives, trieu un mode d'arrodoniment i feu clic a Calcula per veure el resultat arrodonit.

Why does "Round to Nearest" round 2.5 to 2, not 3?

The "Round to Nearest" mode uses banker's rounding (round-half-to-even): when a value falls exactly halfway between two targets, it rounds to whichever one is even, not always up. That is why 2.5 rounds to 2 and 3.5 rounds to 4 — both land on the nearest even number. This reduces systematic upward bias when rounding large batches of numbers, which is why it is the default in Python and many statistical tools, even though "round half up" is more commonly taught in school.

More math calculators