This is a bit like asking, how long is a piece of string? It depends how long you want it to be, or in the case of a WMS, what you want it to do and how many people are going to use it.
In simpler terms it could cost from a few tens of thousands of pounds to several hundreds of thousands of pounds to get installed and then there is the ongoing maintenance/support and the hardware to consider.

