Upper right abdominal pain can be caused by biliary colic, cholecystitis(inflammation of gall bladder), irritable bowel syndrome, hepatitis(inflammation of the liver),
kidney stones, pneumonia, musculoskeletal pain,lower rib fracture
and malignancy.Irritation of the nerves supplying this area can also cause pain.Irritation can be due to nerve compression or pinching due to any spine related pathology.