
Tidy Tuesday: The same IKEA sofa costs double in Mexico what it does in Thailand
Preface
From the TidyTuesday repository.
This week’s data, curated by Georgios Karamanis, is every sofa and armchair listed on ikea.com in 50 countries on 28 September 2026, with prices in local currency and in US dollars. A second table lists the places in Sweden that share a name with each product, from OpenStreetMap. Since December 2020, IKEA names new sofas and armchairs after Swedish places.
The README asks how the price of the same product (item_no) differs between countries. That’s the question I took. Each article number is the same product everywhere, so I can compare a sofa against itself instead of against a different sofa.
Loading necessary packages
Code
library(tidyverse)
library(tidytuesdayR)
library(skimr)
library(scales)
library(ggrepel)
library(paletteer)
`%ni%` <- Negate(`%in%`)Load raw data from package
raw <- tidytuesdayR::tt_load("2026-10-27")
ikea_seating <- raw$ikea_seating
ikea_places <- raw$ikea_placesExploratory data analysis
ikea_seating %>%
select(price_usd, variants) %>%
skim()| Name | Piped data |
| Number of rows | 15393 |
| Number of columns | 2 |
| _______________________ | |
| Column type frequency: | |
| numeric | 2 |
| ________________________ | |
| Group variables | None |
Variable type: numeric
| skim_variable | n_missing | complete_rate | mean | sd | p0 | p25 | p50 | p75 | p100 | hist |
|---|---|---|---|---|---|---|---|---|---|---|
| price_usd | 0 | 1 | 839.81 | 746.12 | 7.96 | 270.93 | 625.26 | 1194.71 | 7606.45 | ▇▂▁▁▁ |
| variants | 0 | 1 | 3.89 | 4.92 | 0.00 | 0.00 | 2.00 | 5.00 | 26.00 | ▇▂▁▁▁ |
ikea_seating %>%
summarise(
rows = n(),
countries = n_distinct(country),
products = n_distinct(item_no),
duplicate_item_country_rows = rows - n_distinct(item_no, country)
)# A tibble: 1 × 4
rows countries products duplicate_item_country_rows
<int> <int> <int> <int>
1 15393 50 2222 16
ikea_seating %>%
distinct(item_no, country) %>%
count(item_no, name = "countries") %>%
count(countries >= 30, name = "products")# A tibble: 2 × 2
`countries >= 30` products
<lgl> <int>
1 FALSE 2111
2 TRUE 111
There are no missing prices. The catalogue is lopsided: most article numbers appear in only a few markets, and 111 are sold in 30 or more. Sixteen rows repeat an article number within a country, so I take the median price for those instead of counting them twice.
The comparison only works for products on sale in many markets, so I keep the 111 that appear in at least 30 countries. For each one I take the median USD price across the countries that sell it, then express every country’s price as a share of that median. A value of 0.80 means that country charges 20% less than the typical market for that exact product. Each country’s score is the median of those shares over the products it carries.
Pricing every market against the same product
item_country <- ikea_seating %>%
summarise(price_usd = median(price_usd), .by = c(item_no, country))
common_items <- item_country %>%
count(item_no, name = "n_countries") %>%
filter(n_countries >= 30)
relative <- item_country %>%
semi_join(common_items, by = "item_no") %>%
mutate(rel_price = price_usd / median(price_usd), .by = item_no)
country_scores <- relative %>%
summarise(
typical = median(rel_price),
q1 = quantile(rel_price, 0.25),
q3 = quantile(rel_price, 0.75),
items = n(),
.by = country
) %>%
arrange(typical)
cat(sprintf("country_scores: %d rows, %d cols\n", nrow(country_scores), ncol(country_scores)))country_scores: 50 rows, 5 cols
stopifnot("Plot data has 0 rows" = nrow(country_scores) > 0)
country_scores %>% slice(c(1:3, (n() - 2):n()))# A tibble: 6 × 5
country typical q1 q3 items
<chr> <dbl> <dbl> <dbl> <int>
1 th 0.758 0.686 0.845 85
2 jp 0.783 0.726 0.836 86
3 ph 0.789 0.739 0.829 88
4 il 1.42 1.33 1.58 91
5 ma 1.45 1.33 1.60 97
6 mx 1.65 1.35 1.88 42
item_spread <- relative %>%
summarise(ratio = max(price_usd) / min(price_usd), .by = item_no)
item_spread %>% summarise(median_ratio = median(ratio), max_ratio = max(ratio))# A tibble: 1 × 2
median_ratio max_ratio
<dbl> <dbl>
1 2.33 4.69
Thailand is the cheapest market at 76% of the typical price, and Mexico is the most expensive at 165%. That is a gap of 2.2 times between the two. Across the 111 products, the most expensive market charges a median of 2.3 times what the cheapest does for the same article number.
pal <- as.character(paletteer::paletteer_d("MetBrewer::Isfahan2"))
blue <- pal[5]
gold <- pal[2]
plot_data <- country_scores %>%
mutate(
group = case_when(
typical < 0.9 ~ "More than 10% below",
typical > 1.1 ~ "More than 10% above",
TRUE ~ "Within 10%"
),
group = factor(group, levels = c("More than 10% below", "Within 10%", "More than 10% above")),
country = fct_reorder(str_to_upper(country), typical)
)
end_labels <- plot_data %>%
filter(country %in% c("TH", "JP", "PH", "MX", "MA", "IL", "SE", "US")) %>%
mutate(
name = recode(
as.character(country),
TH = "Thailand", JP = "Japan", PH = "Philippines", MX = "Mexico",
MA = "Morocco", IL = "Israel", SE = "Sweden", US = "United States"
),
label = paste0(name, " ", percent(typical, accuracy = 1))
)
p <- plot_data %>%
ggplot(aes(typical, country)) +
annotate("rect", xmin = 0.9, xmax = 1.1, ymin = -Inf, ymax = Inf, fill = "grey90", alpha = 0.7) +
geom_vline(xintercept = 1, color = "grey35", linewidth = 0.5) +
geom_linerange(aes(xmin = q1, xmax = q3, color = group), linewidth = 2.2, alpha = 0.35) +
geom_point(aes(color = group), size = 2.8) +
geom_text(
data = end_labels,
aes(x = q3, label = label),
hjust = -0.1, size = 3.3, fontface = "bold", color = "grey15"
) +
annotate(
"label",
x = 1.55, y = "ES", hjust = 0.5, size = 3.4, color = "grey20", fill = "#F6F1E7", linewidth = 0,
label = paste0("The same article number\ncosts ", number(median(item_spread$ratio), accuracy = 0.1), "x as much in the\ndearest market as the cheapest\n(median across ", n_items, " products)")
) +
annotate("text", x = 1.1, y = 1, hjust = -0.1, vjust = 0, size = 3, color = "grey40", label = "Gray band: within 10% of the typical price") +
scale_color_manual(values = c(blue, "grey45", gold), name = NULL) +
scale_x_continuous(
labels = label_percent(),
breaks = seq(0.6, 2, 0.2),
limits = c(0.6, 2.05),
expand = expansion(mult = c(0, 0))
) +
labs(
title = "The same IKEA sofa costs more than double in Mexico what it does in Thailand",
subtitle = paste0(
"Median price of identical articles, relative to the cross-market median, in 50 markets. ",
n_below, " markets sit more than 10% below it, ", n_above, " more than 10% above"
),
x = "Typical price of the same product (100% = median across markets, USD)",
y = NULL,
caption = "Data: ikea.com listings, 28 September 2026; exchange rates from the fawazahmed0 currency API. TidyTuesday 2026-10-27"
) +
theme_minimal(base_size = 12) +
theme(
plot.background = element_rect(fill = "#F6F1E7", color = NA),
panel.grid.minor = element_blank(),
panel.grid.major.y = element_line(color = "grey85", linewidth = 0.25),
panel.grid.major.x = element_line(color = "grey85", linewidth = 0.3),
plot.title = element_text(face = "bold", size = 16),
plot.title.position = "plot",
plot.subtitle = element_text(color = "grey30", margin = margin(b = 10)),
plot.caption = element_text(color = "grey45", size = 9, hjust = 0),
plot.caption.position = "plot",
axis.title.x = element_text(color = "grey30", margin = margin(t = 8)),
axis.text.y = element_text(size = 8.5, color = "grey25"),
legend.position = "top",
legend.justification = "left",
plot.margin = margin(12, 16, 10, 12)
)
p
What sits at the edges
The cheap end is mostly Asia and the Baltics. Thailand, Japan and the Philippines are all more than 20% under the typical price, and South Korea isn’t far behind. Eurozone prices vary by country even though they share a currency: Lithuania and Latvia are about 12% under the median, while Finland is about 16% over.
At the expensive end, Mexico, Morocco, Israel and Colombia all charge about a third or more above the typical price. The United States sits at 119%, and the United Kingdom at 118%. Sweden, where all the product names come from, is almost exactly on the line.
Not every market sells the same range, which is why I scored each country only on the products it shares with enough others. Colombia, India, Mexico and the United States list fewer than 60 of the 111 products, so their scores rest on fewer sofas.
Final thoughts and takeaways
IKEA doesn’t charge one price for a sofa everywhere. For the same article number, converted to dollars, the typical Thai price is about three quarters of the median market and the typical Mexican price is about two thirds above it. For the median product, the dearest market charges more than twice the cheapest.
This doesn’t say IKEA is overcharging anywhere. The listed price includes local sales tax or VAT, which differs a lot between countries, and it also reflects shipping distance, import duties, local wages, and what the company thinks a market will pay. The data has none of those, so I can show the gap but not explain it.
Two other limits. Everything is converted at one day’s exchange rate, so a currency swing would move the ranking, especially for markets with unstable currencies. And I only compared products sold in at least 30 countries, which leaves out locally sold ranges. I didn’t get to the Swedish place-name table this week, so the question of where the names come from will have to wait.