Where does “ความหนาแน่น” come from?

ความหนาแน่น (Thai) comes from Thai หนาแน่น, from Thai หนา, from Proto-Tai ʰnaːᴬ — thick.

Ancestry of “ความหนาแน่น”, step by step

ความหนาแน่น traces back through two separate lines of ancestry.

via Thai หนาแน่น

StepLanguageWordMeaning
1Thaiหนาแน่นdense; crowded; packed
2Thaiหนาthick
3Proto-Taiʰnaːᴬthick

via Thai ความ

StepLanguageWordMeaning
1Thaiความaffair; matter; content; essence; subject;...
2Proto-Taiɣwaːmᴬmatter
Every word from Proto-Tai ʰnaːᴬEvery word from Thai หนาEvery word from Thai หนาแน่น