Fever alongside the pain, yellowing of the skin or eyes, or being unable to keep fluids down are emergency signs. Call 911 or go to an emergency department straight away, whichever stone you suspect.
The organ and the fluid are the whole difference. Gallstones are crystals that grow inside the gallbladder out of bile, the digestive fluid the liver makes and the gallbladder concentrates. Kidney stones are crystals that grow inside the kidney out of urine. The pain patterns, the triggers and the tests all follow from that single split.
Most gallstones are cholesterol stones, which form when bile carries more cholesterol than its bile salts and phospholipids can hold in solution 1. Most kidney stones are calcium oxalate, which form when urine carries more of those minerals than it can keep dissolved 2. Both are crystallisation problems, but they happen in different plumbing, so they cause trouble in different ways when they move.
A gallstone usually sits quietly in the gallbladder and causes pain only when it blocks the gallbladder outlet or slips into a bile duct. A kidney stone usually causes pain when it leaves the kidney and lodges in the ureter, the narrow tube running down to the bladder, stretching the system upstream of the blockage.
| Feature | Gallstones | Kidney stones |
|---|---|---|
| Where they form | Gallbladder, sometimes the bile ducts | Kidney, then may move into the ureter and bladder |
| Fluid they crystallise from | Bile | Urine |
| Most common composition | Cholesterol stones 1 | Calcium oxalate 2 |
| Classic pain site | Upper right abdomen or just under the breastbone | Flank or mid back, moving down toward the groin |
| Pain behaviour | Builds, plateaus, then eases over hours | Sudden waves, often with restlessness |
| Common trigger | Frequently after a meal, often at night | Can begin at any time, often overnight or early morning |
| Usual first imaging | Abdominal ultrasound 3 | Non-contrast CT of the abdomen and pelvis 4 |
| Blood and urine clues | Liver enzymes and bilirubin 5 | Blood in the urine, urine pH, kidney function 4 |
| How they usually leave | Often stay put unless they move into a duct | Many pass down the ureter and out |
Location and rhythm are the two most useful clues you can gather before any test. Gallbladder pain, often called biliary colic, usually sits in the upper right abdomen or just below the breastbone, builds over roughly an hour, holds steady, and then fades. It can spread to the right shoulder blade or the back between the shoulders, and it is often accompanied by nausea and sweating, with episodes commonly starting in the evening or after a fatty meal 3. Despite the word colic, the pain is more of a sustained pressure than a cramping wave 5. The pattern is set out in more detail in this guide to gallbladder attack symptoms.
Kidney stone pain is different. It typically starts abruptly in the flank or the side of the back, then travels forward and down toward the groin, the testicle or the labia as the stone moves along the ureter. It comes in waves, is frequently paired with nausea and vomiting, and people often cannot find a position that eases it 2. When the stone nears the bladder, urinary urgency, frequency and pain on passing urine can appear 4. The full picture is covered in this guide to kidney stone symptoms.
Two practical distinctions. Gallbladder pain tends to be meal related and settles between attacks. Stone pain in the urinary tract tends to be unrelated to food and moves as the stone moves. Neither pattern is a diagnosis on its own, and overlap is common enough that imaging usually settles the question.
Gallstones are mostly cholesterol, with a smaller group made largely of pigment from broken down red blood cells. Cholesterol stones form when bile becomes supersaturated with cholesterol, when the gallbladder empties sluggishly so bile sits and concentrates, and when mucin and other proteins give crystals a surface to build on 1. Pigment stones form in different circumstances, including conditions involving faster red cell turnover or long standing changes in the bile ducts 6.
The supersaturation idea explains most of the risk factors people hear about. Anything that tips the cholesterol to bile salt ratio the wrong way, or that slows gallbladder emptying, nudges the system toward crystal formation. Rapid weight loss and long gaps without eating both reduce how often the gallbladder contracts, and gallstone formation is associated with periods of rapid weight loss 5. Pregnancy changes both bile composition and gallbladder motility 5.
What matters for daily life is that gallstones are common and mostly silent. Research suggests that the majority of people with gallstones never develop symptoms, and that symptoms, when they appear, tend to mark the point at which a stone starts obstructing something 3. That is why a gallstone found incidentally on a scan done for another reason is a very different conversation from a gallstone found during an episode of pain. Some medicines can influence bile composition or gallbladder behaviour, so ask your prescriber rather than guessing.
Kidney stones come in several chemical types, and the type changes what the test results look like. Calcium oxalate is the most common, followed by calcium phosphate, uric acid, struvite stones linked to certain urinary infections, and the rare cystine stones that run in families 2. The shared mechanism is the same as in the gallbladder in principle. Urine becomes supersaturated with a salt, crystals nucleate, and they grow or aggregate faster than the body's natural inhibitors can stop them 7.
Three variables drive that balance. The first is urine volume, because concentrated urine makes supersaturation easier to reach. The second is the amount of the stone forming substance filtered into the urine, such as calcium, oxalate or uric acid. The third is urine pH, which decides which salts can stay dissolved. Uric acid stones in particular form in persistently acidic urine, and research suggests that low urine pH is central to how they develop 7. This related guide explains what causes uric acid kidney stones in more depth.
Stone type also changes visibility. Calcium containing stones are generally dense on imaging, while uric acid stones are not visible on plain X-ray, which is one reason computed tomography has become the standard way of locating them 4. If a stone is ever recovered, sending it for composition analysis gives information that no blood test can replace 4.
The risk profiles overlap less than you might expect, which is itself a clue. For gallstones, the recognised factors include increasing age, female sex, pregnancy and number of pregnancies, obesity, rapid weight loss and a family history of gallstone disease 5. Gallstone disease is associated with obesity and with features of metabolic syndrome 1.
For kidney stones, an umbrella review of risk factors reports that obesity is associated with a higher likelihood of stone formation, alongside a range of dietary and metabolic factors 8. Low urine volume, hot environments and occupations with high fluid losses, a personal or family history of stones, and certain gut or metabolic conditions all shift the odds 4. Studies indicate that stone disease recurs frequently in people who have already formed one, which is why a first stone is usually taken as a reason to look at the underlying chemistry 7.
Two caveats keep this honest. First, risk factors describe populations, not individuals, so a lean person with no family history can still form either kind of stone. Second, some medicines change urine chemistry or bile composition, and that is a question for your prescriber rather than something to work out from an article. Risk factors are worth knowing because they shape which tests make sense next, not because they confirm anything on their own.
Alkaline phosphatase is an enzyme found in the liver, the lining of the bile ducts, bone and other tissues, and a rise can reflect bile flow that is partly obstructed rather than anything wrong with the kidneys. That is what makes it useful in this comparison. It tends to move with bile duct problems and stays unremarkable in an uncomplicated kidney stone episode.
Typical lab reference ranges run from about 44 to 147 U/L, and FitScript's optimal range is 70 to 100 U/L. Optimal ranges are FitScript's optimization targets, not diagnostic cut-offs, and standard reference ranges vary by lab, age and sex.
What the marker measures, how the sample is taken, and how to read a high or low result all live on the Alkaline Phosphatase page, which covers the marker in full.
Liver chemistry is the group that moves. A standard liver panel includes alanine aminotransferase, aspartate aminotransferase, alkaline phosphatase, gamma glutamyl transferase and bilirubin, and a pattern of rising alkaline phosphatase with rising bilirubin points toward obstruction somewhere along the bile ducts rather than toward the kidneys 5. A white cell count and inflammatory markers add information about whether inflammation or infection has joined the picture, and pancreatic enzymes are checked because a stone passing through the shared duct can inflame the pancreas 3.
Here is the part people find counterintuitive. In a straightforward episode of biliary pain, where a stone blocks the gallbladder outlet briefly and then falls back, blood tests are frequently normal 3. Normal liver tests therefore do not rule gallstones out. They mainly argue against a stone currently sitting in the common bile duct.
The practical reading goes in three steps. The observation is the pattern across the panel, not any single number. The possible meaning is where in the system the problem sits, since liver cell injury, bile duct obstruction and bone turnover produce different patterns. The next step is a conversation with a clinician, who will combine the panel with your symptoms and an ultrasound before concluding anything. Treatment decisions belong to a licensed provider.
Urine does most of the talking. A urinalysis looks for blood, which is present in the majority of acute stone episodes but not all of them, for white cells and nitrites suggesting infection, for urine pH, and sometimes for crystals that hint at stone type 4. A urine culture matters because an obstructing stone combined with infection is handled urgently 2.
Blood tests play a supporting role. Creatinine and estimated glomerular filtration rate show whether kidney function has been affected, and electrolytes, calcium and uric acid help explain why a stone formed 4. A persistently raised blood calcium prompts a clinician to look at parathyroid hormone, because calcium handling is one of the classic drivers of repeat stone formation 7.
For anyone who forms more than one stone, the deeper assessment is a 24 hour urine collection, which measures volume, calcium, oxalate, citrate, uric acid, sodium and pH, and research suggests it is the main way to identify the metabolic factors behind recurrent stones 7. A single blood draw cannot do that job. Notice the contrast with the gallbladder side. There, the key markers are enzymes in blood. Here, the key measurements are concentrations in urine over a full day.
Different scans suit different stones, which is why the suspected location changes the order. Abdominal ultrasound is the first test for suspected gallstones, because it shows stones in the gallbladder well, involves no radiation and can also show gallbladder wall thickening or a dilated bile duct 3. Guidelines for gallstone disease place ultrasound as the initial imaging step 6.
For suspected kidney stones, non-contrast computed tomography of the abdomen and pelvis is the reference test, because it finds stones of nearly any composition and shows their size and position in the ureter 4. Ultrasound is used first in situations where limiting radiation matters, such as in pregnancy, and it can show obstruction upstream of a stone even when the stone itself is hard to see 4.
That split explains a frustration people report. An ultrasound ordered for upper abdominal pain can be excellent at answering the gallbladder question and much less reliable at finding a small stone in the mid ureter. The reverse is also true, since a scan aimed at the urinary tract may not characterise the gallbladder in detail. When the pain pattern is ambiguous, the clinician chooses the test that matches the most likely source, then reconsiders if the first test comes back clear. Imaging interpretation sits with the clinical team, not with a symptom checklist.
Yes, and the shared ground is metabolic. Gallstone disease is associated with obesity and metabolic syndrome features 1. Someone carrying that risk profile can plausibly form stones in both systems over a lifetime, and having one type does not protect against the other.
They are still assessed separately. The bile duct and the urinary tract do not share a pathway, so a gallstone cannot migrate into the kidney and a kidney stone cannot appear in the gallbladder. What they can share is a confusing presentation. Pain from a stone high in the right ureter can be felt in the right upper abdomen, close to where gallbladder pain sits, and that is one of the more common reasons the two get mixed up before imaging.
The practical move when episodes keep repeating is to describe the pattern precisely. Where it starts, where it travels, how long it lasts, whether food sets it off, whether urine changed colour, and whether fever appeared. Those details steer which test is ordered first, and they are more useful than any self assessment of which stone it must be. A clinician decides what gets tested and what happens next.
Some patterns change the timeline from routine to urgent. Fever or chills alongside abdominal pain, yellowing of the skin or the whites of the eyes, confusion, or pain that does not let up over several hours all need prompt assessment, because they can signal infection or obstruction in the bile ducts 3. Being unable to keep fluids down matters too, since repeated vomiting both signals a problem and causes a second one.
On the urinary side, fever with flank pain, or flank pain with urinary symptoms in someone who looks unwell, is handled urgently because an obstructed and infected kidney deteriorates quickly 2. Passing little or no urine, or pain accompanied by shaking chills, falls into the same category 4.
To be explicit about the three signs named earlier. Fever with pain, yellowing of the skin or eyes, and being unable to keep fluids down are reasons to call 911 or go to an emergency department rather than wait for an appointment. Nothing in this section is a reason to ignore an abnormal result or a symptom that worries you. Severity is not a reliable guide to which stone is involved, and a result that falls outside the standard range during an episode of pain is worth discussing with a clinician promptly.
Plenty, which is why imaging and labs exist. Upper right abdominal pain can arise from the stomach lining, the liver, the lower right lung, the right side of the diaphragm or the muscles and nerves of the chest wall. Pain under the breastbone can come from the stomach or oesophagus and can be mistaken for gallbladder pain, especially when it follows meals.
Flank pain has its own list. The muscles and joints of the lower back, a kidney infection without any stone, and conditions of the ovary or testis can all produce pain in a similar area. Pain that radiates to the groin is suggestive of a ureteric stone but is not exclusive to one.
There are also two patterns worth naming. First, gallstones found on a scan do not automatically explain current symptoms, since most people with gallstones have no symptoms from them 3. Finding a stone and finding the cause of pain are separate questions. Second, a normal first test does not close the case when the pain keeps coming back, because the chosen scan may not have been the one that answers your question.
The useful takeaway is to resist settling on an explanation early. Describe the episode in detail, let the testing sequence run, and let a clinician weigh the alternatives rather than narrowing to one stone before the results are in.
Recurrence is normal in both, and it is handled by understanding the mechanism rather than waiting for the next episode. In kidney stone disease, repeat stone formation is common, and research suggests that identifying the specific metabolic drivers through urine chemistry and stone composition is what shapes prevention 7. Low urine volume is associated with stone formation, which is why urine output appears in almost every assessment of recurrent stone formers 8.
On the gallbladder side, the pattern is different. Studies indicate that in people who have had one episode of biliary pain, further episodes and complications are more likely than in people whose stones have never caused symptoms 3. Gallstones that have never caused symptoms are usually managed differently from gallstones that have, and guidelines for gallstone disease set out how that assessment is made 6.
What this means in practice is that the follow up questions differ. After a kidney stone, the question is what in your urine chemistry made crystallisation easy, and the answer usually comes from a 24 hour collection plus blood work. After a symptomatic gallstone episode, the question is what the gallbladder and bile ducts look like and how the episodes are behaving over time. Any decision about prevention, including anything you might take, belongs to a licensed provider who has reviewed your results.
Any repeating pain in the upper abdomen, the flank or the back deserves a proper assessment, and there is no threshold of toughness you need to clear first. One episode of severe pain that resolved still warrants a conversation.
Bring three things to that appointment. A description of the pain, including where it starts, where it travels, how long it lasts and what preceded it. Any recent blood or urine results you already have. And a list of everything you take, since some medicines influence bile or urine chemistry and your prescriber is the person to ask about that.
Testing is where this becomes concrete. A liver panel with alkaline phosphatase and bilirubin, a urinalysis, kidney function and calcium cover most of the first pass, and imaging follows the most likely source. Broad, repeated biomarker testing makes the trend visible rather than giving you a single snapshot, which is why FitScript tests 150+ biomarkers per year and has Atlas, its AI health advisor, interpret the results, with a licensed provider deciding on any next step.
This article is educational and is not medical advice. Discuss your results, your symptoms and any treatment with a clinician or licensed provider who can see your full history.
Yes. Gallbladder pain often spreads from the upper right abdomen to the right shoulder blade or the area between the shoulders, so back pain is a familiar part of the picture. Pain that sits lower, in the flank, and travels toward the groin is more typical of a stone in the urinary tract. A clinician uses the pain pattern plus imaging to work out which system is involved.
It can. A stone high in the right ureter sometimes produces pain felt in the right upper abdomen, close to where gallbladder pain sits, which is one of the more common sources of confusion. Urinary symptoms such as blood in the urine or pain on passing urine point toward the urinary tract. Imaging usually settles it.
No. Liver enzymes and bilirubin tend to rise when a stone obstructs a bile duct, and kidney function, calcium and urinalysis speak to the urinary tract, but no single blood result identifies which organ is involved. Blood work narrows the possibilities and guides which scan comes next. The diagnosis is made by a clinician combining symptoms, labs and imaging.
Not necessarily. In an uncomplicated episode where a stone briefly blocks the gallbladder outlet and then falls back, liver tests are frequently normal. Normal results mainly argue against a stone currently sitting in the common bile duct. An ultrasound is the usual next step when gallstones are suspected.
No. Gallstones form in bile and do not enter the urinary tract, so a urinalysis will not find them. Urine testing is used for kidney stones, where it can show blood, infection, urine pH and sometimes crystals. Dark urine with yellowing of the eyes is a different signal and needs prompt assessment.
The route is different. Kidney stones commonly travel down the ureter and out through the bladder. A gallstone can move out of the gallbladder into the bile ducts and reach the intestine, but it does not leave through the urinary tract, and movement into a duct is the situation that causes the most trouble. What happens next is decided by a licensed provider.
Both can be severe, and how much it hurts does not tell you which stone is involved. Kidney stone pain is often described as waves that make it impossible to sit still, while gallbladder pain tends to be a steady build that plateaus. Pain intensity should not be used as a diagnostic clue.
Bring a clear description of where the pain starts, where it travels, how long it lasts and what preceded it, including meals. Bring any recent blood or urine results, and a full list of everything you take so your prescriber can review it. Those details decide which test is ordered first.