Calculating a formula on nested fields in classic, aggregation-based visualizations

On a related note, if the data you ingest uses bytes instead of kilobytes, you can use the Field Formatters in Kibana to easily convert the number into human readable versions (like KB, MB or GB).