The gallbladder is located in the right upper quadrant (RUQ) of the abdomen and is behind the liver. In order to diagnose gallstones you have to have a physical examination of the RUQ and an ultrasound of the gallbladder. This will show if you have stones or a bile duct obstruction. The surgeon will then be able to tell if you need a cholecystectomy.