🛠️ ToolsRMG
|
Guía · Impuestos

¿Qué es el IRPF y cómo funciona en tu nómina?

El impuesto que más afecta a tu sueldo mensual, explicado desde cero: qué es, cómo se calcula y por qué varía de una persona a otra.

5 min de lectura

El IRPF (Impuesto sobre la Renta de las Personas Físicas) es el principal impuesto personal en España. Grava casi todos los ingresos que obtienes como persona: tu salario, una pensión, el alquiler de una propiedad o las ganancias de tus inversiones. Si tienes nómina, es el descuento que más notarás cada mes después de la Seguridad Social.

¿Cómo funciona el IRPF? El sistema de tramos

El IRPF es un impuesto progresivo: a más ingresos, mayor es el porcentaje que pagas. Pero no sobre toda tu renta, sino solo sobre la parte que supera cada escalón.

Imagina una escalera. Los primeros euros que ganas tributan al tipo más bajo. Solo los euros que superan cada tramo suben al siguiente tipo. Esto significa que si ganas 50.000 €, no pagas el tipo máximo sobre los 50.000 €, sino únicamente sobre la porción que excede cada umbral.

Ejemplo: Con 30.000 € de base imponible, los primeros ~12.000 € tributan al tipo más bajo, el siguiente tramo al siguiente tipo, y así sucesivamente. El tipo efectivo real siempre es menor que el tipo marginal (el del último tramo).

¿Qué diferencia hay entre tipo marginal y tipo efectivo?

Esta confusión es muy común. El tipo marginal es el porcentaje que aplicas al último euro que ganas. El tipo efectivo es el porcentaje real que pagas sobre la totalidad de tus ingresos. Siempre es menor que el marginal.

Una persona en el tramo del 30% no paga el 30% de todo su sueldo: paga el 30% solo de los euros que caen en ese tramo. Los anteriores siguen tributando a los tipos inferiores.

¿Cómo se calcula la retención en la nómina?

La empresa no espera a fin de año para cobrar el IRPF: lo retiene cada mes y lo ingresa directamente a Hacienda. Esto se llama retención a cuenta.

Para calcularla, la empresa sigue estos pasos:

  1. Calcula el salario bruto anual (incluyendo pagas extra)
  2. Resta la cotización del trabajador a la SS (~6,35% del bruto)
  3. Aplica la reducción por rendimientos del trabajo (beneficia especialmente a rentas bajas)
  4. Resta el mínimo personal y familiar (varía según situación familiar)
  5. Aplica los tramos del IRPF sobre la base resultante
  6. Divide el resultado entre las pagas y descuenta cada mes

¿Por qué dos personas con el mismo sueldo tienen distinta retención?

Porque el IRPF depende de mucho más que el salario. Estos factores cambian el resultado:

FactorCómo afecta
Comunidad autónomaCada autonomía tiene sus propios tramos y deducciones
Estado civilLa tributación conjunta puede ser ventajosa con diferencias salariales grandes
Número de hijosReduce la base imponible mediante el mínimo familiar
DiscapacidadPermite deducciones adicionales
Aportaciones a planes de pensionesReducen la base imponible directamente

Retención vs declaración de la renta: ¿qué diferencia hay?

La retención mensual es un anticipo. En la declaración de la renta (habitualmente entre abril y junio del año siguiente), se regulariza todo: si retuvieron de más, Hacienda te devuelve. Si retuvieron de menos, pagas la diferencia.

Por eso ajustar bien el tipo de retención a tu situación real es importante: evita sorpresas en la declaración y optimiza tu liquidez mensual.

Calcula tu retención exacta de IRPF según tu salario y situación

→ Usar la calculadora de nómina

IRPF (Impuesto sobre la Renta de las Personas Físicas) is Spain's main personal income tax. It applies to almost all income you earn as an individual: your salary, a pension, rental income, or investment gains. If you have a payslip, it's the deduction you'll notice most each month after Social Security.

How does IRPF work? The bracket system

IRPF is a progressive tax: the more you earn, the higher the percentage you pay — but only on the portion of income that exceeds each threshold, not on all your income.

Think of it as a staircase. Your first euros are taxed at the lowest rate. Only the euros that exceed each threshold move up to the next rate. So if you earn €50,000, you don't pay the top rate on all €50,000 — only on the slice that falls in the top bracket.

Example: With a taxable base of €30,000, the first ~€12,000 is taxed at the lowest rate, the next slice at the next rate, and so on. Your effective rate is always lower than your marginal rate.

Marginal rate vs effective rate

This is a common source of confusion. The marginal rate is the percentage applied to your last euro of income. The effective rate is the real percentage you pay on all your income — it's always lower than the marginal rate.

Someone in the 30% bracket does not pay 30% on their whole salary. They pay 30% only on the euros that fall in that bracket; lower portions are still taxed at lower rates.

How is withholding calculated on your payslip?

Your employer doesn't wait until year-end to collect IRPF — they withhold it every month and pay it directly to the tax authority. This is called retención a cuenta (withholding on account).

To calculate it, your employer follows these steps:

  1. Calculate annual gross salary (including bonuses)
  2. Deduct the employee's Social Security contribution (~6.35% of gross)
  3. Apply the work income reduction (mainly benefits lower earners)
  4. Deduct the personal and family minimum (varies by family situation)
  5. Apply the IRPF brackets to the resulting taxable base
  6. Divide by the number of pay periods and deduct monthly

Why do two people with the same salary have different withholding?

Because IRPF depends on much more than just salary. These factors change the result:

FactorHow it affects
Autonomous CommunityEach region has its own brackets and deductions
Marital statusJoint filing can be beneficial with large income differences
Number of childrenReduces the taxable base through the family minimum
DisabilityAllows additional deductions
Pension plan contributionsDirectly reduce the taxable base

Withholding vs tax return: what's the difference?

Monthly withholding is an advance payment. In the annual tax return (typically between April and June of the following year), everything is reconciled: if too much was withheld, the tax authority refunds you; if too little, you pay the difference.

Calculate your exact IRPF withholding based on your salary and situation

→ Use the salary calculator

Artículos relacionados