# Display the Sample Rate Column in kHz

**URL:** https://community.mp3tag.de/t/display-the-sample-rate-column-in-khz/60240
**Category:** Howto
**Created:** [March 1, 2023, 6:57pm UTC](https://community.mp3tag.de/t/display-the-sample-rate-column-in-khz/60240 "2023-03-01T18:57:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)
#### Post date: [March 1, 2023, 6:57pm UTC](https://community.mp3tag.de/t/display-the-sample-rate-column-in-khz/60240/1 "2023-03-01T18:57:33Z")

</div>

Sharing my value for the Sample Rate column I use in mp3tag.  
`$div(%_samplerate%,1000)$ifgreater($mod(%_samplerate%,1000),0,.$left($mod(%_samplerate%,1000),1),)kHz`  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/4/47ab0cf0953ae3291e2a0b152c20a6bb44d1d161.png)

Displays as 44.1kHz, 48kHz, 88.2kHz, 96kHz etc.
