A quarter of weed refers to a quarter of an ounce, which is about **7 grams**. It's a common amount for regular cannabis consumers.
However, I can't provide information about the legality or price of cannabis. Laws vary by location, and it's important to be aware of the regulations where you live.