ເຄື່ອງຄິດໄລ່ລະດັບຄວາມດັນສຽງ

I want to calculate
Sound Pressure(P) = P
Reference Pressure(Pref) = P
Sound Pressure Level(SPL) = Db
 
ເຄື່ອງຄິດໄລ່ລະດັບຄວາມດັນສຽງ