In the kidneys, the build up of calcium oxalate crystals in urine, can result in stone formation and passing stones can be painful. Urine contains many dissolved minerals and salts. Calcium oxalate crystals can form when your urine has high levels of these minerals and salts. Calcium oxalate crystals can start small but can grow larger in size, even filling the inner hollow structures of the kidney.