Judge Laura Ruiz Alaminos, sitting at a court in Velez-Malaga in southern Spain, calculated the payment based on the minimum monthly professional wage for the quarter century the couple were married.
According to the ruling made public on Tuesday, the husband must also pay Ivana Moral a pension of €500 (£444) per month as well as €400 (£356) and €600 (£533) to his two daughters, who are now aged 20 and 14.
“Clearly this was a case of abuse to be completely excluded financially (by my ex-husband) with nothing left after my marriage ended, so me and my daughters were left with nothing after all these years of putting all my time, energy and love in the family,” Ms Moral told i.
“I was supporting my husband in his work and in the family as a mother and a father. I was never allowed access to his financial affairs; everything was in his name.”
The couple were married in 1995, but Ms Moral asked for a divorce in 2020.
The court heard that during the marriage, he built a successful gym business that allowed him to buy a Porsche Cayenne, a Range Rover 4×4, BMW motorbikes, and a 70-hectare olive oil farm, which was valued at €4m.
When his eldest daughter reached 16, he refused to pay for her to continue studying, so she had to start work to pay for her own studies.
When they married, her husband asked Ms Moral to sign a separation of goods agreement, which meant he kept all his wealth and they split common possessions.
Ms Moral, whose ex-husband was not named in the court ruling, said she hoped her case would inspire other women.
“The reason I decided to speak to the media is I wanted women to know that we can claim for housework when there is a separation of goods agreement,” she said.
Marta Fuentes, the lawyer for Ms Moral, said: “This ruling represents the labour of all the women in the shadows and who, without a doubt, constitute a fundamental support in personal, marital, and familiar terms during years and years so that the ex-husband could develop his professional career and a rise in wealth which at the moment of separation could not share.
“So he could get on in his career, she stayed at home to look after the children, and they never contacted anyone to help her. She was his shadow, working behind [him] so he could rise professionally and become someone.”
After she asked for a divorce, she was initially awarded half of their house but nothing more.
The court calculated the award Ms Moral was seeking by using the minimum monthly wage, which was recently raised to €1,080.
The husband did not offer her money but simply wanted to split their home and possessions. He is expected to appeal.