Click the numerical field next to the brush icon in the context bar to type a specific pixel value.
If your UI feels too small to click the brush settings easily, go to Edit > Preferences > General and adjust the UI Scale to make the sliders more accessible.