Instead of fiddling with sar output, you can use the vmstat command which shows these very same columns in user-fiendlier units (kilobytes).
Code:
$ sar -r 2 2
SunOS m3 5.11 snv_94 i86pc 08/12/2008
12:12:18 freemem freeswap
12:12:20 269250 3776976
12:12:22 269250 3776976
Average 269250 3776976
$ vmstat 2 2
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd s0 -- -- in sy cs us sy id
0 0 0 1894128 1091184 11 76 0 0 0 0 23 3 0 0 0 548 2171 619 21 6 74
0 0 0 1889152 1077580 6 19 0 0 0 0 0 0 0 0 0 561 688 434 7 3 90
$ pagesize
4096
$ expr 3776976 / 2
1888488
$ expr 269250 \* 4
1077000