Your plant runs hydrochloric acid for descaling, and a process engineer now wants hydrofluoric acid for a stainless pickling line or a glass-etch step. Purchasing pushes back: HCl is the stronger acid and already sits in the tank farm, so why qualify a second acid with its own tanks, training and paperwork? The objection is right about strength and wrong about the job. Hydrofluoric acid earns its place through the fluoride ion, and that ion is also what makes it the harder of the two to hold.
Hydrofluoric acid vs hydrochloric acid: which is stronger, and which does your process need?
Hydrochloric acid is the stronger acid in water: it ionizes completely, while hydrofluoric acid is a weak acid with a pKa of 3.19. Strength does not decide the purchase. Of the two, only hydrofluoric acid dissolves glass, silica and silicates, so etching, quartz purification and stainless pickling need HF; rust, mill scale and carbonate scale are hydrochloric acid work.
The figures below come from PubChem and PubChem’s hydrogen chloride record. Their solution data cover different concentrations for each acid, so read each row as a profile, not a head-to-head at equal strength.
| Property | Hydrofluoric acid | Hydrochloric acid |
|---|---|---|
| CAS number | 7664-39-3 | 7647-01-0 |
| Formula and molecular weight | HF, 20.0064 g/mol | HCl, 36.46 g/mol |
| Strength in water | Weak acid, pKa 3.19 | Strong acid, fully ionized |
| Anhydrous form | Liquefied gas under pressure: boils at 19.51 °C; vapor pressure 917 mmHg at 25 °C, above one atmosphere | Hydrogen chloride: a gas at room temperature, shipped liquefied under pressure |
| Solution data | 70% solution: relative density 1.23, boils at 152 °F, melts at -92.2 °F | 10.17% w/w: density 1.05 at 59 °F; 39.17% w/w melts at -13.7 °F |
| Solubility in water | Miscible | 82.3 g/100 g at 32 °F |
| Constant-boiling mixture | 38.2% w/w HF, boils at 112.2 °C | Also forms one with water |
| Attacks glass and silica | Yes | No |
Is HF a strong acid?
Not in water. HSDB, the source of the pKa in the table above, and NIOSH’s emergency-response database both class aqueous hydrofluoric acid as a weak acid, while hydrochloric acid gives up its proton completely. So between HF and HCl, the more acidic at equal molar concentration is hydrochloric acid, which delivers the lower pH.
Two things hold HF back. The H-F bond is far stronger than the H-Cl bond, and the small fluoride ion orders the surrounding water so tightly that ionizing costs more than it returns. At the strengths industry uses, most of the acid in solution stays as neutral HF molecules.
Take the water away and HF changes character. HSDB calls anhydrous hydrogen fluoride one of the most acidic substances known, with a Hammett acidity function of -10.98. That is the form refineries use as an alkylation catalyst, and a different purchase from the aqueous acid; the comparison of hydrofluoric acid and hydrogen fluoride covers that split.
Concentrated aqueous HF sits between the two. As concentration rises, fluoride pairs with a second HF molecule as the bifluoride ion (HF₂⁻), pulling more of the acid into ionized form, so a 70% solution behaves as a stronger acid than the dilute-solution pKa suggests. The documented reversal of the ranking against hydrochloric acid is for the anhydrous form only.
What sets the pH of hydrofluoric acid?
PubChem’s pH field for hydrofluoric acid gives no number; it reads “In water a weak acid”. That is the honest answer, because the pH depends on concentration and on whatever else is in the bath. The pKa is the anchor: at a pH equal to the pKa half of the HF is ionized, and below that most stays molecular.
That matters in mixed-acid baths. In a nitric-hydrofluoric pickle the nitric acid sets the pH, so the uncomplexed fluoride sits mostly as molecular HF and a pH reading says little about the etching power left. Lines run on titration and dissolved-metal checks instead: patent JP3225880B2, for continuous stainless pickling, renews the bath once dissolved iron passes 4%.
A standard glass pH electrode is a trap: it is made of the silicate glass HF attacks, so readings drift and the sensor wears; specify an electrode rated for fluoride service. And because etch rate tracks molecular HF and bifluoride, not hydronium, two baths at the same pH can etch at different rates. Specify HF by percent by weight, never by pH.
Which job needs which acid?
The split follows the anion. Hydrochloric acid turns iron oxides and carbonates into soluble chlorides but cannot break the silicon-oxygen bond; fluoride can.
| Job | Acid | Why |
|---|---|---|
| Rust and mill scale on carbon steel | Hydrochloric | Iron oxides dissolve readily; chloride is tolerable on carbon steel once rinsed |
| Carbonate scale in exchangers and lines | Hydrochloric, inhibited | Carbonates dissolve readily; HF would lose its fluoride as insoluble calcium fluoride |
| Scale on stainless steel and nickel alloys | Nitric-hydrofluoric mix | Chloride left on stainless is a pitting risk; fluoride complexes the dissolved iron and chromium |
| Glass etching and frosting, quartz purification | Hydrofluoric | Fluoride cuts the silicon-oxygen bond, and in water the silicon leaves as fluorosilicate; hydrochloric acid leaves glass untouched |
| Silicon oxide etch in semiconductor fabs | Electronic-grade hydrofluoric | 49%, the standard concentration Haz-Map gives, is the supply strength; fabs dilute or buffer it for the bath |
| Sand on metal castings, silicate stains | Hydrofluoric | Silica and silicates need fluoride; HSDB lists removing sand from castings among the acid’s uses |
| Refinery alkylation catalyst | Anhydrous hydrofluoric, or sulfuric | The two catalysts OSHA’s refining manual names |
| pH adjustment of alkaline streams | Hydrochloric | A strong acid with no fluoride carried into the effluent |
The two also work in sequence. In sandstone well acidizing, a hydrochloric acid stage clears carbonates first, so the hydrochloric-hydrofluoric acid blend that follows spends its fluoride on clays and silica instead of precipitating calcium fluoride. The posts on stainless steel and superalloy pickling and glass etching and frosting cover bath make-up. Some frosting shops use solid ammonium bifluoride as the fluoride source; the ammonium bifluoride and hydrofluoric acid comparison weighs that swap.
Why is the weaker acid the more demanding one to hold?
Weak describes how little of the acid ionizes, not how mild it is, and every handling difference traces to fluoride. ICSC states that hydrofluoric acid attacks glass, some forms of plastic, rubber and coatings; the NIOSH Pocket Guide adds concrete. Hydrochloric acid leaves glass alone, which is why glass-lined steel is a standard choice for HCl service and is ruled out for HF.
Carbon steel runs the other way, within limits. HSDB notes that hydrogen fluoride should be stored in steel cylinders, and OSHA’s refining manual has HF alkylation units hold acid above 65% and moisture below 4% to control corrosion, drying the unit after any shutdown that used water: a refinery operating condition, not a storage rule. Hydrochloric acid attacks carbon steel at any working strength, so HCl service runs in rubber-lined steel or plastic.
CAMEO adds two hydrogen notes for steel: HF’s attack on metals can generate hydrogen in containers and piping, and HF diluted below 65% with water may react with iron and steel to release it.
Tanks do not convert by default. In fiber-reinforced plastic, any glass fiber at the wetted surface meets the fluoride, so an HF tank needs a corrosion barrier the fabricator rates for fluoride service.
Volatility splits as well. Hydrogen chloride is a gas at room temperature, so strong hydrochloric acid fumes as it escapes. Anhydrous hydrogen fluoride has a vapor pressure of 917 mmHg at 25 °C, above the 760 mmHg of one atmosphere, and even the 70% solution carries a partial pressure of 150 mmHg at 77 °F.
Personnel rules diverge most, because the hazard to people differs in kind. Hydrochloric acid’s hazard tracks its acidity; hydrofluoric acid’s tracks the fluoride ion. The neutral HF molecules that make it a weak acid pass into skin more readily than ions do, and the fluoride then binds calcium and magnesium in the tissue, so dilution or a modest pH reading does not make it safe to handle like hydrochloric acid.
The hazard statements in the current Safety Data Sheet (SDS) for each hydrofluoric acid grade, which the product page’s safety section points to, set the exposure controls, protective equipment and first aid; a hydrochloric acid procedure does not cover them. Have your EHS lead sign off the fluoride first-aid provision before the first drum arrives.
What changes in the purchase order?
Hydrochloric acid is bought on concentration and impurity profile; hydrofluoric acid is bought on grade first. Semiconductor oxide etch runs on electronic grade, bought at 49%, the standard concentration Haz-Map gives, and then diluted or buffered in the fab; buffered oxide etch patent CN119685022A specifies 48-50% electronic-grade feedstock. The 70% solution has its own ICSC card, and refineries buy the anhydrous form as a liquefied gas. The 49% vs 70% grade comparison covers the trade-offs.
Concentration also moves part of the paperwork. Under 40 CFR 68.130 (eCFR, 2026), hydrofluoric acid at 50% or greater is listed for EPA’s Risk Management Program with a threshold quantity of 1,000 lb in a process, so a 70% grade sits inside that entry and a 49% grade below its concentration line.
The 49% grade still carries release reporting: the 100 lb CERCLA reportable quantity listed under 40 CFR 302.4 (PubChem’s regulatory summary, 2026) has no concentration line, so it applies to hydrofluoric acid in any solution. Hydrochloric acid has its own entries with different figures; check both with your EHS lead before you size storage.
Before you issue the order:
- State the grade as percent HF by weight, plus the application, and require a Certificate of Analysis (CoA) on every lot.
- Confirm every wetted material in the receiving system is rated for fluoride, including gaskets, hoses and pH probes.
- Get the SDS for that exact grade to your EHS lead before the first shipment, not with it.
Methodology: acidity, physical and use data come from PubChem (CID 14917 and CID 313) and the HSDB, ICSC, CAMEO and Haz-Map entries it aggregates, plus EPA’s Health Effects Notebook for hydrogen fluoride, OSHA’s Technical Manual, the NIOSH Pocket Guide, two published patents (JP3225880B2 and CN119685022A) and 40 CFR 68.130 on eCFR (2026). Statements without a figure are standard acid-base and materials chemistry.
Frequently asked questions
Is HF a strong acid if I dilute it further?
What is the pH of hydrofluoric acid?
Is HF or HCl more acidic?
Can a tank that holds hydrochloric acid be switched to hydrofluoric acid?
Sources & methodology
Figures are RawSource sourcing data unless attributed to a named source. Regulatory citations are current as of publication. Chemical identities verified by CAS number against the RawSource catalog.
Search 1,300+ industrial chemicals by name or CAS, or send us your spec — we quote by the drum, tote, or container.
Browse the Chemical Index → Request a Quote