Um, what lens are you talking about?
There are a couple M series 50mm lenses, but none are f2.8.
Some 50mm lenses have f2.8 aperture, and those are macro lenses. Not sure you need macro, that is up to you to determine.
Check out 50mm Pentax lenses
here or manually search the
lens review database. This database includes an average on how much people paid for the lens when they bought it - its not the perfect number, but usually it a good place to start.
You can get a very good M 50mm f1.7 for around $70 usd. Not sure how much the macro lenses go for, they are a little rarer, because they are a specialty lens.