Good question!
First of all, when driving in Spain, be VERY careful! If you exceed the limit, you will be charged by the police A LOT OF MONEY!!
So, in few words, here you have the maximum limits:
In towns, cities... 50 km/h.
Highways: 120 km/h
Others, between 80 and 100 km/h.
Hope this helps!