Ketogenic compositions including a plurality of beta-hydroxybutyrate (BHB) salts and beta-hydroxybutyric acid are formulated to induce or sustain ketosis in a subject to which the ketogenic compositions are administered. The BHB composition is formulated to provide a biologically balanced set of cationic electrolytes, and is formulated to avoid detrimental health effects associated with imbalanced electrolyte ratios. A ketogenic composition includes beta-hydroxybutyric acid and a plurality of BHB salts selected from sodium, potassium, calcium, and magnesium. The BHB composition may include transition metal cations (e.g., zinc or iron), one or more BHB-amino acid salts, a short-, medium-, or long chain fatty acid source, vitamin D3, flavorant, or other excipient.