How we calculate the market figures
The figures on the search pages (price per m², median price, range, budget brackets, prices by number of bedrooms, by neighbourhood and by city) are calculated from the listings published on MarocImmo, and nothing else. No sentence is written by hand or by artificial intelligence: each one carries a figure.
What is counted
A page’s prices are calculated on its properties of the last 90 days: the listings with a price that were online at some point in that period, for its transaction, property type and place, whether they are still online, paused, expired, taken down, sold or rented. Each property counts once, at its latest asking price. Prices move by less than 1% in three months: the period brings more properties without mixing anything. Listings refused by the team and those of suspended accounts are left out. The number of listings on a page stays the number online that day, without the filters or the sort you chose.
Each property counted once
A property published by several advertisers counts only once in the prices, at its most recent listing. Two listings are the same property when they have the same transaction, city, neighbourhood, property type and number of bedrooms, a surface within 3% and a price within 5%. The number of listings on the page still counts them all.
Prices out of place
A price typed in wrong enters no figure. We first leave out prices no property of its type can have, such as a flat for sale under 1,000 DH per m². Then, in each city, for each property type and transaction, a price per m² (a price, for a type without a price per m²) too far from the others: beyond 3.5 times the usual spread around the median price, measured on the logarithms of the prices. A city with too few properties to measure its own spread takes Morocco’s.
Asking prices
A listing gives the price the seller asks, or the rent the landlord asks. The agreed price may differ, and the figures describe the listings published on MarocImmo, not the whole market.
The median price
Half the listings with a price are below it, the other half above. Unlike the average, it hardly moves when an exceptional villa joins the page.
The “8 listings in 10” range
One listing in 10 is cheaper than the bottom of the range, one in 10 dearer than the top. It leaves out the extreme prices, at both ends.
Budget brackets
Their bounds are round amounts, close to the prices that split the listings into four equal parts. Each bracket says how many listings it holds, their median floor area and, for homes, the number of bedrooms at least half of them have. A bracket with fewer than 5 listings joins its neighbour. As in the search, a bracket includes both its bounds: a listing priced exactly at a bound counts in both brackets around it.
The price per m²
The sale price divided by the area that matters for the property type, such as an apartment’s living area or a plot’s land. It doesn’t exist for a rental, a farm, a warehouse or a building.
Enough listings, or nothing
The median price per m² needs 20 listings with a price; the median price, the range and the budget brackets, 30. These listings must come from at least 5 different advertisers, none of them publishing more than half: a single agency does not make a page’s market. Where one publishes more, we say so: “Mostly listings from a single agency”. A row by number of bedrooms, by neighbourhood or by city needs 10 listings from 3 advertisers, under the same rule of half, and a table at least two rows, three for neighbourhoods and cities. Below that, the figure would mean nothing: we don’t show it.
Indicative figure, reliable figure
A figure that passes its thresholds is indicative at first: it is shown rounded to two significant digits, after “≈”, for example “≈ 13,000 DH/m²”. It becomes reliable once it rests on at least twice the number of listings of its threshold, from at least 8 advertisers: it is then shown rounded to three significant digits, for example “13,400 DH/m²”. An indicative figure gives an order of magnitude, not a measure.
One property type at a time
On a page that mixes property types, the figures are given type by type: a median mixing studios and villas would describe no property at all.
Prices on request
A listing with its price on request enters no figure, since its price isn’t known. The note under the figures says how many there are on the page.
When the figures are calculated
The figures are calculated again when the page is requested, from the properties of the previous 90 days. The note under the figures gives the date and the number of listings they are based on.
The agency directory
The pages of the directory (one per city, one per neighbourhood and one for all of Morocco) and their “Agencies in figures” block are calculated the same way, on the listings online on MarocImmo. No agency is described by hand.
Who is in the directory
An agency appears on the page of its city as soon as it has a listing online, wherever it is. On the page of another city or of a neighbourhood, it needs at least 3 listings online there. The Morocco page shows every agency with at least one listing online. An agency with no listing online, or whose account is suspended, appears nowhere. The badge marks an agency the MarocImmo team has verified.
The order of agencies
The agencies with the most listings online in the page’s place come first; with the Sale or Rent filter, those with the most listings of that kind there. Ties are broken alphabetically. An agency based in the city whose listings are all elsewhere comes last. No place can be bought.
What the figures count
The block counts every listing online in the place when the page is requested, under offer and reserved included: those of agencies, whether they appear on the page or not, and those of private sellers. The split between sale and rent only covers agency listings. A neighbourhood counts the agencies with at least 3 listings online there. The note under the block gives the date of the calculation and the number of listings it used.
The thresholds
The block only appears on city and neighbourhood pages with at least 20 listings online. A neighbourhood only enters the ranking once 2 agencies have listings there; the ranking shows at most 5 neighbourhoods and only appears when there are at least 3.