Use the dba_free_space by giving the file_id (freespace)
dba_data_files (total size)
total-free=used