---
name: "obprop"
section: "1"
platform: "linux"
package: "openbabel"
version: "3.2.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/obprop"
---

# obprop(1)

print standard molecular properties

## NAME

**obprop** – print standard molecular properties

## SYNOPSIS

**obprop** *filename*

## DESCRIPTION

The **obprop** program is a tool to print a set of standard molecular properties for all molecules in a file. It also serves as example code for using the Open Babel library (libopenbabel).

Output format includes:\
 name \[*Name*\]\
 formula \[*Formula*\]\
 mol\_weight \[*Molecular* *Weight*\]\
 exact\_mass \[*Isotopic* *Mass*\]\
 canonical\_SMILES \[*String*\]\
 num\_atoms \[*Number*\]\
 num\_bonds \[*Number*\]\
 num\_residues \[*Number*\]\
 sequence \[*Residue* *Sequence*\]\
 num\_rings \[*Number* *of* *Rings* *(by* *SSSR)*\]\
 logP \[*Number* *(octanol-water* *partition)*\]\
 PSA \[*Number* *(topological* *polar* *surface* *area)*\]\
 MR \[*Number* *(molar* *refractivity)*\]\
 $$$

The “$$$” is the separator between multiple molecular entries in a file

## EXAMPLES

```
obprop pyridines.sdf
```

## SEE ALSO

[obabel(1)](/obabel/1.md), [obchiral(1)](/obchiral/1.md), [obfit(1)](/obfit/1.md), [obgrep(1)](/obgrep/1.md), [obrotate(1)](/obrotate/1.md).

The web pages for Open Babel can be found at: \<**https://openbabel.org/**\>

## AUTHORS

The obprop program was contributed by Fabien Fontaine

Open Babel is developed by a cast of many, including current maintainers Geoff Hutchison, Chris Morley, Michael Banck, and innumerable others who have contributed fixes and additions. For more contributors to Open Babel, see \<**https://openbabel.org/docs/Introduction/thanks.html**\>

## COPYRIGHT

Copyright (C) 2003 by Fabien Fontaine\
 Some portions Copyright (C) 2004-2007 by Geoffrey R. Hutchison and other contributors.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
