Is it medium size if you have 36b size bra?

It will depend on the garment, but yes, a 36b should fit in most mediums. If you find they do not fit well I would suggest that you have a professional bra fitting done to make sure your wearing the correct size bra.