What does pain on your right side under your ribs mean?
With me the pain was due to IBS. That is when your colon goes into spasms and causes some pain. It can also cause pain anywhere from in your neck on the right, down into your lower stomach. For me the solution was to get a prescription forr IBS called Bentyl that I take regularly that has stopped most if not all the pain. If that doesn't seem to answer your question my suggestion would be to call your doctor to see if it could be your gall bladder.
It could be a number of things. Under the right ribcage is where the liver and gallbadder are located. Pain that radiated through to the shoulder blades could be gallstones. Pain just under the right ribs could indicate a liver problem or pulled muscle. If you are pregnant and that pain is accompanied by headaches, blurred vision, hypertension and edema, see your care provider immediately as this may be a symptom of pre-eclampsia.