Gallstones are solid particles that form from bile cholesterol and bilirubin in the gallbladder. The gallbladder is a small saclike organ in the upper right part of the abdomen. It is located under the liver, just below the front rib cage on the right side.