CATEGORIES
MORE
HomeDaily LifeSecret Santa Generator
‹ All Daily calculators☀️ Daily Life

Secret Santa Generator

Organize your Secret Santa draw quickly and easily. Set up exclusions to prevent couples or family members from drawing each other.

€500€15.000+
€2.184,50
€30.583,00

📊

€42.000,00
– €2.678,34
– €1.974,00
– €651,00
– €42.00
– €50,40
IRPF (15,0%)– €5.059,32
€39.321,66
€30.583,00

The Secret Santa gift exchange is a beloved holiday and office tradition in Spain. Organizing it on paper often results in people drawing their own names or repeating couples who already trade gifts. According to event planning statistics for 2026, more than 85% of groups now organize these exchanges digitally to speed up the process and easily manage pairing rules.

This interactive calculator lets you run your Secret Santa draw instantly on any device while keeping the assignments secret. If you are hosting a get-together, you can estimate catering drinks with the Event Drinks Calculator or split the final costs easily using our Bizum Calculator.

⚙️ How the Secret Santa Algorithm Works

The generator’s pairing mechanism is built around algebraic constraints known as derangements:

  • No Self-Pairings: The system guarantees that no participant is ever assigned to buy a gift for themselves.
  • Exclusion Filters: You can specify forbidden matches (e.g., partners who buy each other gifts outside of the exchange). The algorithm evaluates each possible draw and, if an exclusion is matched, discards the permutation and reshuffles the deck.
  • Privacy Mode: The application includes a privacy toggle. This enables the group to pass a single smartphone or tablet around. Each participant clicks the reveal box next to their name to see their assignment, and then clicks again to hide it before passing the device to the next person.

📊 Practical Examples of Exclusions-Based Draws

Here are two common scenarios of how family and office groups set up their draws:

Example 1: A family gathering of 5 people with one couple excluded
  • Participants: **Carlos, Sofía, Ana, Luis, Pedro**
  • Exclusion: **Carlos-Sofía** (married couple who will buy a separate joint gift)
  • Calculation: The algorithm shuffles the names, discarding any arrangements where Carlos is matched with Sofía (or vice versa) and ensuring no self-pairings.
Result: **5 valid pairings** (e.g. Carlos ➔ Ana, Sofía ➔ Luis, Ana ➔ Pedro, Luis ➔ Sofía, Pedro ➔ Carlos)
Example 2: An office group of 4 people with no exclusions
  • Participants: **María, Juan, Laura, Diego**
  • Exclusions: None
  • Calculation: Open draw. The system scrambles the list, validating only that no person has drawn themselves.
Result: **4 valid pairings** (e.g. María ➔ Diego, Juan ➔ María, Laura ➔ Juan, Diego ➔ Laura)

❓ Frequently Asked Questions (FAQ)

No. This generator runs entirely client-side in your local browser using standard JavaScript. The names and resulting matches are never uploaded to our servers or stored in any database, ensuring total privacy for your list of participants.

Before running the draw, click "Hide Results". Once generated, the assignments will appear as clickable hidden boxes. Everyone can take turns looking at the screen, clicking their name to reveal their target, and clicking it again to hide it before the next person takes their turn.

This error occurs if there are too many exclusions relative to the number of participants, meaning it is mathematically impossible to find a valid arrangement. To resolve this, try removing some exclusions or adding more participants to the exchange list.

No. The matching algorithm normalizes all input text to lowercase before validating pairings. You just need to ensure that the spelling of the names matches exactly between the participant list and the exclusion fields for the filters to work.

Draw Assurances

Cálculo exacto según tablas oficiales de la AEAT y Seguridad Social 2026.
Mínimo personal y familiar aplicado: €5.550
Base máxima de cotización: €4.720,50/mes
Escala regional adaptada a tu Comunidad Autónoma.

🏛️ Organismos oficiales responsables

📄
Agencia Tributaria (AEAT)
Gestión del IRPF, retenciones mensuales y declaración de la renta anual.
Agencia Tributaria →
🏢
Seguridad Social (TGSS)
Gestión de bases de cotización, cotizaciones del trabajador y prestaciones.
Seg-Social.es →
🛡️
Última actualización: Modificado y verificado con los tipos de cotización a la Seguridad Social y las tablas IRPF de la AEAT para el ejercicio fiscal 2026.