A valve having a diverting cartridge with an integral pressure balance for tubs, spouts and shower heads comprising of a housing having an opening to receive a cartridge, wherein the housing has a cold water inlet, a hot water inlet, and a shower outlet and a spout outlet. The cartridge has a cylindrical body with a plurality of cold water inlet apertures, a plurality of hot water inlet apertures and an outlet aperture designed on the cylindrical body. The hot and cold water inlet apertures of the cartridge are in alignment with the inlets of the housing for allowing hot and cold water to enter to the cartridge. A stationary sleeve with a cylindrical body is sized and placed inside the cartridge. The stationary sleeve has a plurality of first-apertures for hot water inlet, a plurality of second-apertures for tempered water outlet, and a plurality of third-apertures for cold water inlet. A movable shuttle is designed and placed inside the stationary sleeve, wherein the movable shuttle has a cylindrical-shuttle body with three annular portions and two conduits for hot and cold waters, wherein the two conduits are not connected to each other. Thereby, the hot water or cold water pressures inside the sleeve regulate the position of the movable shuttle.